-
Notifications
You must be signed in to change notification settings - Fork 916
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
Adapt cudf::scalar
classes to changes in rmm::device_scalar
#8411
Merged
rapids-bot
merged 19 commits into
rapidsai:branch-21.08
from
harrism:fea-device_scalar-refactor
Jun 8, 2021
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
e1ef2ca
Lots of fixes to make streams explicit to device_buffer, avoid copies…
harrism 084832c
Merge branch 'branch-21.06' into fea-device_buffer-explicit-stream
harrism f01050b
Use move in null_mask cython
harrism 5bf75d6
Move not forward
harrism cdf6b23
Use device_buffer default ctor in JNI
harrism 7a467cf
Update dev guide on device_buffer
harrism f68bde3
Apply suggestions from code review
harrism 359e420
Apply suggestion from code review.
harrism 73c455a
clang-format
harrism a36349c
Another clang-format fix
harrism 8d60f34
Update for device_scalar changes
harrism e066eb0
Merge branch 'fea-device_buffer-explicit-stream' into fea-device_scal…
harrism 2699fb2
Merge branch 'branch-21.08' into fea-device_scalar-refactor
harrism e7bc0c5
Add stream param to set_column_map
harrism 028dcfe
Remove blank line
harrism 38462c4
Fix Java test
harrism 1010c9c
Delete r-value ref overload
harrism c8e1d04
Undo deleting rvalue-ref overload.
harrism af870a8
Merge branch 'branch-21.08' into fea-device_scalar-refactor
harrism File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
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.
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.
I think the r-value version of this function needs to be deleted?
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.
Actually I think it should not be deleted. Doing so results in ambiguity between the
bool
andbool&&
versions of the function. The reason to delete would be to avoid the case where a reference to a temporary is passed to an async function, and the temporary is destroyed before the copy completes. Butbool
is a special case for which the lowest-level implementation indevice_uvector
usescudaMemsetAsync
. And since bothset_valid_async
andcudaMemsetAsync
both take non-reference parameters, the value of the temporary will be copied intocudaMemsetAsync
before the temporary can be destroyed.