Skip to content

Changes needed for CCCL 3.2 compatibility#20810

Merged
rapids-bot[bot] merged 8 commits intorapidsai:mainfrom
bdice:cccl-3.2.x-compatibility
Dec 18, 2025
Merged

Changes needed for CCCL 3.2 compatibility#20810
rapids-bot[bot] merged 8 commits intorapidsai:mainfrom
bdice:cccl-3.2.x-compatibility

Conversation

@bdice
Copy link
Copy Markdown
Contributor

@bdice bdice commented Dec 9, 2025

Description

This refactors some C++ code, particularly memory resources, to make it compatible with CCCL 3.2.

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

@copy-pr-bot
Copy link
Copy Markdown

copy-pr-bot bot commented Dec 9, 2025

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@github-actions github-actions bot added the libcudf Affects libcudf (C++/CUDA) code. label Dec 9, 2025
@bdice bdice changed the title Refactors needed for CCCL 3.2 compatibility. Memory resource changes needed for CCCL 3.2 compatibility Dec 9, 2025
@bdice
Copy link
Copy Markdown
Contributor Author

bdice commented Dec 9, 2025

/ok to test

@bdice bdice added improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Dec 9, 2025
@bdice
Copy link
Copy Markdown
Contributor Author

bdice commented Dec 9, 2025

/ok to test

@bdice bdice force-pushed the cccl-3.2.x-compatibility branch from d71aad5 to 45683f2 Compare December 16, 2025 19:37
@bdice bdice changed the title Memory resource changes needed for CCCL 3.2 compatibility Changes needed for CCCL 3.2 compatibility Dec 16, 2025
@bdice bdice marked this pull request as ready for review December 16, 2025 19:37
@bdice bdice requested a review from a team as a code owner December 16, 2025 19:37
Comment on lines +128 to +129
cuda::proclaim_return_type<detail::row::lhs_index_type>(
[] __device__(size_type idx) { return static_cast<detail::row::lhs_index_type>(idx); }));
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I thought that proclaim_return_type was no longer needed if the lambda's return type is obvious (like this one)?

Copy link
Copy Markdown
Contributor Author

@bdice bdice Dec 17, 2025

Choose a reason for hiding this comment

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

No, this is needed to compile in some cases where deduction is not possible for the compiler. These were needed to fix compiler errors.

Copy link
Copy Markdown
Contributor

@ttnghia ttnghia Dec 17, 2025

Choose a reason for hiding this comment

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

I'm surprised that such issue still happens with this "trivial" code, since it looks very obvious to deduce the output type:

return static_cast<detail::row::lhs_index_type>(....);

So I consider this as a regression in CCCL 3.2.

@bdice bdice requested a review from a team as a code owner December 17, 2025 00:21
@github-actions github-actions bot added Python Affects Python cuDF API. cudf.pandas Issues specific to cudf.pandas labels Dec 17, 2025
@GPUtester GPUtester moved this to In Progress in cuDF Python Dec 17, 2025
@bdice
Copy link
Copy Markdown
Contributor Author

bdice commented Dec 17, 2025

/merge

@bdice
Copy link
Copy Markdown
Contributor Author

bdice commented Dec 18, 2025

/merge

@rapids-bot rapids-bot bot merged commit 2c1aef3 into rapidsai:main Dec 18, 2025
262 of 272 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in cuDF Python Dec 18, 2025
PointKernel added a commit to NVIDIA/cuCollections that referenced this pull request Dec 19, 2025
Similar to rapidsai/cudf#20810

This PR contains the updates needed for CCCL 3.2, resolving the build
errors that occur when upgrading the CCCL version from 3.1 to 3.2 in
rapids-cmake: rapidsai/rapids-cmake#955
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cudf.pandas Issues specific to cudf.pandas improvement Improvement / enhancement to an existing function libcudf Affects libcudf (C++/CUDA) code. non-breaking Non-breaking change Python Affects Python cuDF API.

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

6 participants