Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

shared memory update #117

Merged
merged 4 commits into from
Nov 10, 2023
Merged

shared memory update #117

merged 4 commits into from
Nov 10, 2023

Conversation

pkicsiny
Copy link
Contributor

@pkicsiny pkicsiny commented Sep 8, 2023

  • updated context_cupy.py so that the shared memory size is now inferred from the kernel description argument. If such an argument is not given in the kernel description, then the default value (=0) is used.

@giadarol
Copy link
Member

Could you remind me why is the shared memory size a property of the context and not of the kernel?

@pkicsiny
Copy link
Contributor Author

I made it such that it can be used for any other kernels, same ways as the default_block_size property.

@giadarol giadarol changed the base branch from main to release/0.2.10 November 10, 2023 10:01
@giadarol giadarol merged commit dfc322a into xsuite:release/0.2.10 Nov 10, 2023
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants