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

Fix cudf::segmented_reduce gtest for ANY aggregation #12940

Merged
merged 2 commits into from
Mar 15, 2023

Conversation

davidwendt
Copy link
Contributor

Description

Minor fix to the SegmentedReductionTest/AnyExcludeNulls gtest to use 0/false as the initial value to better test and demonstrate the usage. Found this when looking for an example to answer issue #10455
Also reworked the code in this test to use variables to help minimize copy errors and shorten the code size.

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

@davidwendt davidwendt added 3 - Ready for Review Ready for review by team libcudf Affects libcudf (C++/CUDA) code. improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Mar 14, 2023
@davidwendt davidwendt self-assigned this Mar 14, 2023
@davidwendt davidwendt requested a review from a team as a code owner March 14, 2023 16:03
@davidwendt
Copy link
Contributor Author

/merge

@rapids-bot rapids-bot bot merged commit 1b78039 into rapidsai:branch-23.04 Mar 15, 2023
@davidwendt davidwendt deleted the fix-segred-any-test branch March 15, 2023 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 - Ready for Review Ready for review by team improvement Improvement / enhancement to an existing function libcudf Affects libcudf (C++/CUDA) code. non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants