Skip to content

Avoid patching sort algorithms from CCCL#18364

Merged
rapids-bot[bot] merged 3 commits intorapidsai:branch-25.06from
miscco:avoid_sort_patch_cccl
Apr 15, 2025
Merged

Avoid patching sort algorithms from CCCL#18364
rapids-bot[bot] merged 3 commits intorapidsai:branch-25.06from
miscco:avoid_sort_patch_cccl

Conversation

@miscco
Copy link
Copy Markdown
Contributor

@miscco miscco commented Mar 25, 2025

CCCL provides a custom CCCL_AVOID_SORT_UNROLL escape hatch that will selectively avoid unrolling the problematic loops

CCCL provides a cusom `CCCL_AVOID_SORT_UNROLL` escape hatch that will selectively avoid unrolling the problematic loops
@miscco miscco requested a review from a team as a code owner March 25, 2025 08:46
@github-actions github-actions Bot added libcudf Affects libcudf (C++/CUDA) code. CMake CMake build issue labels Mar 25, 2025
@miscco
Copy link
Copy Markdown
Contributor Author

miscco commented Mar 25, 2025

See CCCL PR

Comment thread cpp/CMakeLists.txt Outdated
@davidwendt davidwendt added improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Mar 25, 2025
@davidwendt davidwendt removed their assignment Mar 31, 2025
Copy link
Copy Markdown
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.

Just to make sure that I understand, we're adding a nonfunction preprocessor definition now and marking the patch as no longer necessary as of 3.0 so that when we drop the patch in 3.0 the definition will start having the same effect as our patch, right? i.e. adding this definition right now is a no-op?

@davidwendt
Copy link
Copy Markdown
Contributor

Just to make sure that I understand, we're adding a nonfunction preprocessor definition now and marking the patch as no longer necessary as of 3.0 so that when we drop the patch in 3.0 the definition will start having the same effect as our patch, right? i.e. adding this definition right now is a no-op?

That is my understanding as well but will wait for @miscco to verify.

@bdice
Copy link
Copy Markdown
Contributor

bdice commented Apr 2, 2025

Yes, that's correct. I asked @miscco if we might be able to get a backport of this to 2.8.x so that our 25.06 release can be patch-free (maybe!): NVIDIA/cccl#4254 (comment)

@vyasr
Copy link
Copy Markdown
Contributor

vyasr commented Apr 3, 2025

That would be a huge step forward yeah.

Copy link
Copy Markdown
Contributor

@bdice bdice left a comment

Choose a reason for hiding this comment

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

I need this for #18235 to be patch-free. A backport to CCCL branch/2.8.x was made here: NVIDIA/cccl#4387

This is safe to merge now.

@bdice
Copy link
Copy Markdown
Contributor

bdice commented Apr 11, 2025

/merge

@bdice
Copy link
Copy Markdown
Contributor

bdice commented Apr 11, 2025

I am also merging this into #18235 for testing.

@rapids-bot rapids-bot Bot merged commit e643ece into rapidsai:branch-25.06 Apr 15, 2025
123 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CMake CMake build issue 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