-
Notifications
You must be signed in to change notification settings - Fork 912
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
[REVIEW] Remove bounds check for cudf::gather
#6875
Merged
Merged
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
Replacing `EQUAL` with `EQUIVALENCE` test, `remove_key` gather calls repaced with `DONT_CHECK` policy
Co-authored-by: Jake Hemstad <[email protected]>
- Style - Error message Co-authored-by: Ashwin Srinath <[email protected]>
- Use DONT_CHECK in encode.cu
- Undo test_single_agg column test func - style
devavret
approved these changes
Dec 2, 2020
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.
Already approved the previous PR
kkraus14
reviewed
Dec 2, 2020
shwina
approved these changes
Dec 2, 2020
kkraus14
approved these changes
Dec 2, 2020
kkraus14
added
5 - Merge After Dependencies
5 - Ready to Merge
Testing and reviews complete, ready to merge
and removed
3 - Ready for Review
Ready for review by team
5 - Merge After Dependencies
labels
Dec 2, 2020
isVoid
commented
Dec 2, 2020
harrism
changed the title
[REVIEW] Remove bounds check for
[REVIEW] Remove bounds check for Dec 2, 2020
cudf::gather
(Rebase)cudf::gather
@isVoid can you please add a clear description to this PR? Then we can add Okay to automerge. |
kkraus14
added
0 - Waiting on Author
Waiting for author to respond to review
and removed
5 - Ready to Merge
Testing and reviews complete, ready to merge
labels
Dec 2, 2020
jrhemstad
approved these changes
Dec 2, 2020
kkraus14
added
5 - Ready to Merge
Testing and reviews complete, ready to merge
6 - Okay to Auto-Merge
and removed
0 - Waiting on Author
Waiting for author to respond to review
labels
Dec 2, 2020
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
feature request
New feature or request
libcudf
Affects libcudf (C++/CUDA) code.
Python
Affects Python cuDF 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.
Closes #6478
cudf::gather
now will not run a pre-pass to check for index validity.For
out_of_bounds_policy
, removeFAIL
, while exposingNULLIFY
andDONT_CHECK
to user.NULLIFY
checks out-of-bounds indices and sets them to null rows, whileDONT_CHECK
skips all checks. UsingDONT_CHECK
should yield higher performance, givengather_map
contains only valid indices.Note that the negative index (wrap-arounds) policy is unchanged. When gather map dtype is
signed
, wrap-around is applied.A new Cython binding to
cudf::minmax
, used for Cythongather
bound checking is added. Will also close #6731