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

Switch to using the per-thread default stream #54

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

insertinterestingnamehere
Copy link
Member

Given that numba/numba#6936 is landing soon, this switches us over to using the per-thread default stream in parla. I'll see if I can also get cupy to also support switching to using per-thread-default-stream mode after import since that'll let us get rid of the import order dependence.

The import order issue may cause some existing apps to error out. Further investigation of the implications is pending.

@insertinterestingnamehere insertinterestingnamehere marked this pull request as draft April 16, 2021 19:31
@insertinterestingnamehere
Copy link
Member Author

Okay, this works with development versions of cupy and numba (with numba/numba#6936). Once those patches are available in the binaries we can switch to using the per-thread default stream to resolve #37.

@insertinterestingnamehere
Copy link
Member Author

Note: this does not work with current cupy binaries for some reason. It does work with the development version if I compile it myself. See cupy/cupy#5092 for what details I have. We'll see if the next round of release binaries are okay.

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