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

Drop redundant scoped context setting when enqueuing a kernel launch #367

Closed
eyalroz opened this issue Jun 8, 2022 · 0 comments
Closed

Comments

@eyalroz
Copy link
Owner

eyalroz commented Jun 8, 2022

In stream_t::enqueue_t::kernel_launch(), we make a scoped context setting; but we don't need to, since we call a function which does it itself.

@eyalroz eyalroz added the task label Jun 8, 2022
@eyalroz eyalroz self-assigned this Jun 8, 2022
eyalroz added a commit that referenced this issue Jun 10, 2022
…ity; drop redundant scoped context setting.

* Added: `cuda::launch_type_erased()` standalone function
* Added: `cuda::stream_t::enqueue_t::launch_type_erased()` method

Fixes #367: Drop redundant scoped context setting when launching a kernel.
eyalroz added a commit that referenced this issue Jun 10, 2022
…ity; drop redundant scoped context setting.

* Added: `cuda::launch_type_erased()` standalone function
* Added: `cuda::stream_t::enqueue_t::launch_type_erased()` method

Fixes #367: Drop redundant scoped context setting when launching a kernel.
eyalroz added a commit that referenced this issue Jun 10, 2022
…ity; drop redundant scoped context setting.

* Added: `cuda::launch_type_erased()` standalone function
* Added: `cuda::stream_t::enqueue_t::launch_type_erased()` method
* The marshalled arguments are now passed around using `const void *`'s rather than `void *`'s

Fixes #367: Drop redundant scoped context setting when launching a kernel.

fixup
eyalroz added a commit that referenced this issue Jun 11, 2022
…ity; drop redundant scoped context setting.

* Added: `cuda::launch_type_erased()` standalone function
* Added: `cuda::stream_t::enqueue_t::launch_type_erased()` method
* The marshalled arguments are now passed around using `const void *`'s rather than `void *`'s

Fixes #367: Drop redundant scoped context setting when launching a kernel.

fixup
eyalroz added a commit that referenced this issue Jun 20, 2022
…ity; drop redundant scoped context setting.

* Added: `cuda::launch_type_erased()` standalone function
* Added: `cuda::stream_t::enqueue_t::launch_type_erased()` method
* The marshalled arguments are now passed around using `const void *`'s rather than `void *`'s

Fixes #367: Drop redundant scoped context setting when launching a kernel.

fixup
eyalroz added a commit that referenced this issue Jun 20, 2022
…ity; drop redundant scoped context setting.

* Added: `cuda::launch_type_erased()` standalone function
* Added: `cuda::stream_t::enqueue_t::launch_type_erased()` method
* The marshalled arguments are now passed around using `const void *`'s rather than `void *`'s

Fixes #367: Drop redundant scoped context setting when launching a kernel.

fixup
eyalroz added a commit that referenced this issue Jun 20, 2022
…ity; drop redundant scoped context setting.

* Added: `cuda::launch_type_erased()` standalone function
* Added: `cuda::stream_t::enqueue_t::launch_type_erased()` method
* The marshalled arguments are now passed around using `const void *`'s rather than `void *`'s

Fixes #367: Drop redundant scoped context setting when launching a kernel.

fixup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant