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

Allow concurrent kernel execution in multithreaded environments by releasing the GIL #233

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

wlruys
Copy link

@wlruys wlruys commented Jan 5, 2024

Thanks for the help @NaderAlAwar. This is just a draft PR showing how it can be done.

Likely you'll want a flag in the decorator so the user can control this behavior.
Users will want it released for long Serial/OpenMP kernels, but it may not be beneficial on short-running CPU kernels or asynchronous GPU kernels.

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.

1 participant