-
Notifications
You must be signed in to change notification settings - Fork 208
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
Synchronize stream in DeviceBuffer.c_from_unique_ptr
constructor
#1100
Synchronize stream in DeviceBuffer.c_from_unique_ptr
constructor
#1100
Conversation
rerun tests |
rerun tests |
@ashwin is this a 22.10 code freeze blocker? If you merge the latest 22.10 branch CI should work now. |
I missed this PR because it is not assigned to a project. |
@shwina I believe the above query from Mark Harris is meant for you. 😊 |
Oops, sorry. |
…ix-c-from-unique-ptr-sync
Retargeting, as I don't want to introduce this change so late into the release. So far it has never bitten us... |
rerun tests |
@shwina should we get this into 23.04? Seems like it dropped off all our radars but not for any particular reason. |
Retargeted to |
/merge |
Thanks all! 🙏 If we find anything else is needed here, please raise an issue (or PR) and we can follow up from there 🙂 |
The
DeviceBuffer.__cinit__
method syncs the default stream to ensure that access to the.ptr
and.size
attributes of the underlyingrmm::device_buffer
is safe.However, the staticmethod
DeviceBuffer.c_from_unique_ptr
does not. This PR adds a stream sync to it.