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

CUDA: Make arg optional for Stream.add_callback() #8542

Merged
merged 1 commit into from Oct 26, 2022

Conversation

gmarkall
Copy link
Member

It's a bit annoying to have to pass an argument if your callback doesn't need one. To make this use case a little more pleasant, we default arg to None.

It's a bit annoying to have to pass an argument if your callback doesn't
need one. To make this use case a little more pleasant, we default `arg`
to `None`.
@gmarkall gmarkall added 2 - In Progress CUDA CUDA related issue/PR Effort - short Short size effort needed labels Oct 26, 2022
@gmarkall
Copy link
Member Author

gpuci run tests

@gmarkall
Copy link
Member Author

Note that this should be considered a gpuCI pass, it only failed because #8537 is not yet merged.

Copy link
Contributor

@stuartarchibald stuartarchibald left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the patch.

@stuartarchibald stuartarchibald added 5 - Ready to merge Review and testing done, is ready to merge and removed 3 - Ready for Review labels Oct 26, 2022
@stuartarchibald stuartarchibald added this to the Numba 0.57 RC milestone Oct 26, 2022
@stuartarchibald stuartarchibald self-assigned this Oct 26, 2022
@sklam sklam merged commit 598aadf into numba:main Oct 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
5 - Ready to merge Review and testing done, is ready to merge CUDA CUDA related issue/PR Effort - short Short size effort needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants