-
Notifications
You must be signed in to change notification settings - Fork 200
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
Explicit streams in device_buffer #775
Merged
rapids-bot
merged 8 commits into
rapidsai:branch-21.08
from
harrism:fea-device_buffer-explicit-stream
Jun 2, 2021
Merged
Explicit streams in device_buffer #775
rapids-bot
merged 8 commits into
rapidsai:branch-21.08
from
harrism:fea-device_buffer-explicit-stream
Jun 2, 2021
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rongou
approved these changes
May 19, 2021
harrism
added
breaking
Breaking change
improvement
Improvement / enhancement to an existing function
labels
May 19, 2021
rerun tests |
kkraus14
approved these changes
May 20, 2021
cuSpatial is ready for this PR: rapidsai/cuspatial#403 |
rerun tests |
cwharris
added
3 - Ready for review
Ready for review by team
and removed
3 - Ready for review
Ready for review by team
labels
May 24, 2021
harrism
added
the
5 - Merge After Dependencies
Depends on another PR: do not merge out of order
label
May 24, 2021
rapids-bot bot
pushed a commit
to rapidsai/cudf
that referenced
this pull request
May 26, 2021
) In preparation for rapidsai/rmm#775, this PR has many changes to ensure streams on which device_buffers are allocated and copied are explicit. As a consequence, this PR also finds and fixes many places where buffers were copied that should have been moved. In addition, it adds copy constructors that take an optional stream to all `cudf::scalar` classes. This can and should be merged before rapidsai/rmm#775 to ensure no breakage of the build by that PR. Authors: - Mark Harris (https://github.com/harrism) Approvers: - Ram (Ramakrishna Prabhu) (https://github.com/rgsl888prabhu) - Devavret Makkar (https://github.com/devavret) - Jason Lowe (https://github.com/jlowe) - Nghia Truong (https://github.com/ttnghia) URL: #8280
codereport
approved these changes
May 27, 2021
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm 👍
harrism
added
5 - Ready to Merge
Testing and reviews complete, ready to merge
and removed
5 - Merge After Dependencies
Depends on another PR: do not merge out of order
labels
May 31, 2021
rerun tests |
@gpucibot merge |
galipremsagar
approved these changes
Jun 2, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
5 - Ready to Merge
Testing and reviews complete, ready to merge
breaking
Breaking change
cpp
Pertains to C++ code
improvement
Improvement / enhancement to an existing function
Python
Related to RMM Python API
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Removes default stream arguments from
rmm::device_buffer
. Now copy construction requires a stream argument (default copy ctor deleted), and copy assignment is disallowed (operator deleted). Move construction and assignment are still supported, and move assignment still use the most recently used stream for deallocating any previous data.Also improves device_buffer tests (implements TODOs in code).
I don't think this should be merged until RAPIDS dependent libraries are ready for it. I have a libcudf PR in progress for this.
Fixes #418