Repository navigation
Fix CCCL compilation errors - #22349
Merged
Merged
Conversation
Contributor
|
Claude made the changes to |
davidwendt
reviewed
May 1, 2026
| ss.data() + ss.count(), | ||
| cuda::proclaim_return_type<bool>([] __device__(auto const& lhs, auto const& rhs) { | ||
| return lhs.stream_size < rhs.stream_size; | ||
| })); |
Contributor
There was a problem hiding this comment.
Turned the lambda into a functor and this worked.
davidwendt
approved these changes
May 1, 2026
PointKernel
approved these changes
May 1, 2026
Comment on lines
+648
to
+652
|
|
||
| less_comparator<Comparator>& operator=(less_comparator<Comparator> const& other) | ||
| { | ||
| return *this; | ||
| }; |
Member
There was a problem hiding this comment.
One of the problems I've noticed is that if I try to also add a move operator here or to noinline_adapter_fn, or change this to a constructor, or change it to = default, compilation breaks again. Something doesn't smell right about that. This got it to compile, but surely there must be a better way?
vuule
approved these changes
May 1, 2026
Contributor
|
/merge |
vyasr
pushed a commit
to vyasr/cudf
that referenced
this pull request
May 4, 2026
Fixes cuDF compilation failures exposed by a recent CCCL update. - Row comparators: make row-comparator wrapper types satisfy CCCL algorithms that now require assignable functors. - Reductions: update `noinline_adapter_fn` to preserve its callable return type and support assignment. - Sort-merge join: replace `thrust::tabulate_output_iterator` lower-bound outputs with materialized lower-bound buffers. - ORC writer: switch the `thrust::max_element` predicate to a named device functor to avoid the problematic proclaimed-return-type path. Authors: - Bradley Dice (https://github.com/bdice) - Kyle Edwards (https://github.com/KyleFromNVIDIA) - David Wendt (https://github.com/davidwendt) Approvers: - David Wendt (https://github.com/davidwendt) - Yunsong Wang (https://github.com/PointKernel) - Vukasin Milovanovic (https://github.com/vuule) URL: NVIDIA#22349
7 tasks
rapids-bot Bot
pushed a commit
to rapidsai/rapids-cmake
that referenced
this pull request
May 8, 2026
This PR updates CCCL to the latest 3.4.0 pre-release commit. Comparison of CCCL commits: NVIDIA/cccl@2b7188d...bc6be12 We specifically need these features/fixes for RAPIDS projects: - NVIDIA/cccl#8839 - NVIDIA/cccl#8845 - NVIDIA/cccl#8882 Changes to revert once this lands: - `sort_merge_joins.cu` workaround from NVIDIA/cudf#22349 - Disabled warpspeed scan in cuVS from NVIDIA/cuvs#2062 - Refactor `sample_and_compute_local_nbr_indices.cuh` to avoid transform iterators from rapidsai/cugraph@913da05 Authors: - Bradley Dice (https://github.com/bdice) Approvers: - Robert Maynard (https://github.com/robertmaynard) URL: #1018
shrshi
pushed a commit
to shrshi/cudf
that referenced
this pull request
May 12, 2026
Fixes cuDF compilation failures exposed by a recent CCCL update. - Row comparators: make row-comparator wrapper types satisfy CCCL algorithms that now require assignable functors. - Reductions: update `noinline_adapter_fn` to preserve its callable return type and support assignment. - Sort-merge join: replace `thrust::tabulate_output_iterator` lower-bound outputs with materialized lower-bound buffers. - ORC writer: switch the `thrust::max_element` predicate to a named device functor to avoid the problematic proclaimed-return-type path. Authors: - Bradley Dice (https://github.com/bdice) - Kyle Edwards (https://github.com/KyleFromNVIDIA) - David Wendt (https://github.com/davidwendt) Approvers: - David Wendt (https://github.com/davidwendt) - Yunsong Wang (https://github.com/PointKernel) - Vukasin Milovanovic (https://github.com/vuule) URL: NVIDIA#22349
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Fixes cuDF compilation failures exposed by a recent CCCL update.
noinline_adapter_fnto preserve its callable return type and support assignment.thrust::tabulate_output_iteratorlower-bound outputs with materialized lower-bound buffers.thrust::max_elementpredicate to a named device functor to avoid the problematic proclaimed-return-type path.Checklist