Skip to content

Move true_if device function from detail/.hpp to src/.cuh header - #21717

Merged
rapids-bot[bot] merged 5 commits into
NVIDIA:mainfrom
davidwendt:true-if-move
Mar 11, 2026
Merged

Move true_if device function from detail/.hpp to src/.cuh header#21717
rapids-bot[bot] merged 5 commits into
NVIDIA:mainfrom
davidwendt:true-if-move

Conversation

@davidwendt

Copy link
Copy Markdown
Contributor

Description

Moves a device function defined in cpp/include/cudf/detail/unary.hpp to new cpp/src/unary/true_if.cuh and update internal includes appropriately.
The device function defined in a .hpp is unexpected and not needed to be available outside of the cpp/src/unary folder.
Also removes the CUDF_EXPORT from the detail/unary.hpp declarations.

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 self-assigned this Mar 9, 2026
@davidwendt
davidwendt requested a review from a team as a code owner March 9, 2026 18:01
@davidwendt davidwendt added the 3 - Ready for Review Ready for review by team label Mar 9, 2026
@davidwendt davidwendt added libcudf Affects libcudf (C++/CUDA) code. improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Mar 9, 2026
Comment thread cpp/src/unary/true_if.cuh Outdated
Comment thread cpp/src/unary/true_if.cuh
Comment thread cpp/src/unary/true_if.cuh Outdated
@vyasr
vyasr requested a review from ttnghia March 10, 2026 15:54
@davidwendt

Copy link
Copy Markdown
Contributor Author

/merge

@rapids-bot
rapids-bot Bot merged commit 07f5ed3 into NVIDIA:main Mar 11, 2026
114 checks passed
@davidwendt
davidwendt deleted the true-if-move branch March 11, 2026 13:24
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