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

Compute null-count in cudf::detail::slice #13124

Merged
merged 4 commits into from
Apr 14, 2023

Conversation

davidwendt
Copy link
Contributor

Description

Calculates the null-count in the cudf::detail::slice() function. This requires adding a stream parameter to the function and updating the callers to pass the stream. Also moved the function definition to the slice.cu file since there are only two possible values for the template parameter.

Labeling this with non-breaking since it is a detail function.

Contributes to: #11968

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 Apr 12, 2023
@davidwendt davidwendt requested a review from a team as a code owner April 12, 2023 14:29
@davidwendt davidwendt self-assigned this Apr 12, 2023
@davidwendt davidwendt requested review from ttnghia and divyegala April 12, 2023 14:29
cpp/src/copying/slice.cu Outdated Show resolved Hide resolved
@davidwendt davidwendt requested a review from divyegala April 12, 2023 21:02
@davidwendt davidwendt requested a review from vyasr April 13, 2023 19:10
Copy link
Contributor

@vyasr vyasr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@davidwendt
Copy link
Contributor Author

/merge

@rapids-bot rapids-bot bot merged commit 891698d into rapidsai:branch-23.06 Apr 14, 2023
@davidwendt davidwendt deleted the slice-null-count branch April 14, 2023 14:29
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.

4 participants