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 unsanitized nulls produced by cudf::clamp APIs #14580

Merged
merged 3 commits into from
Dec 7, 2023

Conversation

davidwendt
Copy link
Contributor

Description

Fixes the strings specialization logic in cudf::clamp to not produce unsanitized null entries. The code was refactored and simplified as well. Also removed unsanitized nulls in test input in the cudf::clamp gtests.

Reference: #14559 - fixes several of these gtests

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 bug Something isn't working 3 - Ready for Review Ready for review by team libcudf Affects libcudf (C++/CUDA) code. non-breaking Non-breaking change labels Dec 6, 2023
@davidwendt davidwendt self-assigned this Dec 6, 2023
@davidwendt davidwendt requested a review from a team as a code owner December 6, 2023 00:08
cpp/src/replace/clamp.cu Outdated Show resolved Hide resolved
@davidwendt
Copy link
Contributor Author

/merge

@rapids-bot rapids-bot bot merged commit 6fc230a into rapidsai:branch-24.02 Dec 7, 2023
67 checks passed
@davidwendt davidwendt deleted the fix-clamp-unsanitized branch December 7, 2023 18:45
karthikeyann pushed a commit to karthikeyann/cudf that referenced this pull request Dec 12, 2023
Fixes the strings specialization logic in `cudf::clamp` to not produce unsanitized null entries. The code was refactored and simplified as well. Also removed unsanitized nulls in test input in the `cudf::clamp` gtests.

Reference: rapidsai#14559 - fixes several of these gtests

Authors:
  - David Wendt (https://github.com/davidwendt)

Approvers:
  - Mark Harris (https://github.com/harrism)
  - Nghia Truong (https://github.com/ttnghia)
  - Mike Wilson (https://github.com/hyperbolic2346)

URL: rapidsai#14580
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 bug Something isn't working libcudf Affects libcudf (C++/CUDA) code. non-breaking Non-breaking change
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

4 participants