Repository navigation
feat(hipcub, rocprim, rocthrust) Cherry-pick revert CCCL 3.0 changes into ROCm 10.0 - #10637
Merged
marbre merged 3 commits intoAug 13, 2026
Conversation
spolifroni-amd
approved these changes
Aug 11, 2026
spolifroni-amd
left a comment
Contributor
There was a problem hiding this comment.
It's fine. Just need to remove the merge editor comment from the rocthrust changelog
marbre
requested changes
Aug 11, 2026
marbre
left a comment
Member
There was a problem hiding this comment.
hipCUB is failing to build:
[hipCUB] In file included from /__w/rocm-libraries/rocm-libraries/projects/hipcub/test/hipcub/test_hipcub_block_histogram.cpp:23:
[hipCUB] In file included from /__w/rocm-libraries/rocm-libraries/projects/hipcub/test/hipcub/common_test_header.hpp:56:
[hipCUB] /__w/rocm-libraries/rocm-libraries/projects/hipcub/test/hipcub/test_utils.hpp:636:17: error: no template named 'extents' in namespace 'hipcub'; did you mean 'std::extent'?
[hipCUB] 636 | using extents = ::hipcub::extents<IndexType, Dims...>;
[hipCUB] | ^~~~~~~~~~
[hipCUB] /opt/rh/gcc-toolset-13/root/usr/lib/gcc/x86_64-redhat-linux/13/../../../../include/c++/13/type_traits:1369:12: note: 'std::extent' declared here
[hipCUB] 1369 | struct extent
[hipCUB] | ^
[hipCUB] In file included from /__w/rocm-libraries/rocm-libraries/projects/hipcub/test/hipcub/test_hipcub_block_histogram.cpp:23:
[hipCUB] In file included from /__w/rocm-libraries/rocm-libraries/projects/hipcub/test/hipcub/common_test_header.hpp:56:
[hipCUB] /__w/rocm-libraries/rocm-libraries/projects/hipcub/test/hipcub/test_utils.hpp:642:21: error: use of undeclared identifier 'extents'
[hipCUB] 642 | struct extents_size<extents<IndexType, Dims...>>
[hipCUB] | ^~~~~~~
[hipCUB] /__w/rocm-libraries/rocm-libraries/projects/hipcub/test/hipcub/test_utils.hpp:648:38: error: no template named 'constant_iterator' in namespace 'rocprim'
[hipCUB] 648 | using constant_iterator = ::rocprim::constant_iterator<T, Difference>;
[hipCUB] | ~~~~~~~~~~~^
[hipCUB] /__w/rocm-libraries/rocm-libraries/projects/hipcub/test/hipcub/test_utils.hpp:651:38: error: no template named 'counting_iterator' in namespace 'rocprim'
[hipCUB] 651 | using counting_iterator = ::rocprim::counting_iterator<T>;
[hipCUB] | ~~~~~~~~~~~^
[hipCUB] /__w/rocm-libraries/rocm-libraries/projects/hipcub/test/hipcub/test_utils.hpp:653:80: error: no template named 'it_value_t' in namespace 'hipcub::detail'
[hipCUB] 653 | template<typename It, typename UnaryOp, typename ValueType = ::hipcub::detail::it_value_t<It>>
[hipCUB] | ~~~~~~~~~~~~~~~~~~^
[hipCUB] /__w/rocm-libraries/rocm-libraries/projects/hipcub/test/hipcub/test_utils.hpp:654:39: error: no template named 'transform_iterator' in namespace 'rocprim'
[hipCUB] 654 | using transform_iterator = ::rocprim::transform_iterator<It, UnaryOp, ValueType>;
[hipCUB] | ~~~~~~~~~~~^
[hipCUB] /__w/rocm-libraries/rocm-libraries/projects/hipcub/test/hipcub/test_utils.hpp:659:59: error: no template named 'transform_iterator'
[hipCUB] 659 | UnaryOp transform) -> transform_iterator<It, UnaryOp>
[hipCUB] | ^
This needs to be addressed in order to land. PTAL @stanleytsang-amd.
Contributor
Author
Working on it. |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## release/therock-10.0 #10637 +/- ##
========================================================
+ Coverage 69.63% 69.70% +0.07%
========================================================
Files 2739 2771 +32
Lines 450644 452737 +2093
Branches 66350 66670 +320
========================================================
+ Hits 313795 315577 +1782
- Misses 116706 116980 +274
- Partials 20143 20180 +37
*This pull request uses carry forward flags. Click here to find out more.
🚀 New features to boost your workflow:
|
Contributor
Author
@marbre looks like the gfx942 job completed, and the build looks good now. |
marbre
self-requested a review
August 13, 2026 15:27
marbre
approved these changes
Aug 13, 2026
marbre
deleted the
users/stanleytsang-amd/cccl-3.0-revert-cherrypick-rocm-10
branch
August 13, 2026 17:09
This was referenced Aug 17, 2026
stanleytsang-amd
pushed a commit
that referenced
this pull request
Aug 17, 2026
## Motivation Closes #10848. * Reapplies: #8538 * Was reverted in: #10849 * Fixes a compilation error in the transform basic benchmark. This failure was exposed due to the recent revert of libhipcxx inclusion (#10637). ## Technical Details * Added a fallback path to include `thrust/functional.h` if no libhipcxx or libcudacxx is detected. * Also fallback to `thrust::detail::proclaim_copyable_arguments`. ## Test Plan * Compiled locally with and without fix. ## Test Result * Error reproduced without fix. * Resolved with fix. ## Submission Checklist - [x] Look over the contributing guidelines at https://github.com/ROCm/ROCm/blob/develop/CONTRIBUTING.md#pull-requests.
assistant-librarian Bot
pushed a commit
to ROCm/rocRAND
that referenced
this pull request
Aug 17, 2026
fix(rocthrust): fix transform basic compile error ## Motivation Closes ROCm/rocm-libraries#10848. * Reapplies: ROCm/rocm-libraries#8538 * Was reverted in: ROCm/rocm-libraries#10849 * Fixes a compilation error in the transform basic benchmark. This failure was exposed due to the recent revert of libhipcxx inclusion (ROCm/rocm-libraries#10637). ## Technical Details * Added a fallback path to include `thrust/functional.h` if no libhipcxx or libcudacxx is detected. * Also fallback to `thrust::detail::proclaim_copyable_arguments`. ## Test Plan * Compiled locally with and without fix. ## Test Result * Error reproduced without fix. * Resolved with fix. ## Submission Checklist - [x] Look over the contributing guidelines at https://github.com/ROCm/ROCm/blob/develop/CONTRIBUTING.md#pull-requests.
marbre
added a commit
to ROCm/TheRock
that referenced
this pull request
Aug 17, 2026
Bumps rocm-libraries to include cherry-pick * ROCm/rocm-libraries#10637 - JIRA ID AIRDEL-36
marbre
added a commit
to ROCm/TheRock
that referenced
this pull request
Aug 18, 2026
Bumps rocm-libraries to include cherry-pick * ROCm/rocm-libraries#10637 - JIRA ID AIRDEL-36
marbre
added a commit
to ROCm/TheRock
that referenced
this pull request
Aug 19, 2026
Bumps rocm-libraries to include cherry-picks for JIRA ID AIRDEL-36 * ROCm/rocm-libraries#10637 * ROCm/rocm-libraries#10879 * ROCm/rocm-libraries#10967 * ROCm/rocm-libraries#10991
marbre
added a commit
to ROCm/TheRock
that referenced
this pull request
Aug 20, 2026
Bumps rocm-libraries to include cherry-picks for JIRA ID AIRDEL-36 * ROCm/rocm-libraries#10637 * ROCm/rocm-libraries#10879 * ROCm/rocm-libraries#10967 * ROCm/rocm-libraries#10991
stanleytsang-amd
pushed a commit
that referenced
this pull request
Sep 18, 2026
## Motivation Closes #10848. * Reapplies: #8538 * Was reverted in: #10849 * Fixes a compilation error in the transform basic benchmark. This failure was exposed due to the recent revert of libhipcxx inclusion (#10637). ## Technical Details * Added a fallback path to include `thrust/functional.h` if no libhipcxx or libcudacxx is detected. * Also fallback to `thrust::detail::proclaim_copyable_arguments`. ## Test Plan * Compiled locally with and without fix. ## Test Result * Error reproduced without fix. * Resolved with fix. ## Submission Checklist - [x] Look over the contributing guidelines at https://github.com/ROCm/ROCm/blob/develop/CONTRIBUTING.md#pull-requests.
illsilin
pushed a commit
to igorluppi/rocm-libraries
that referenced
this pull request
Oct 1, 2026
## Motivation Closes ROCm#10848. * Reapplies: ROCm#8538 * Was reverted in: ROCm#10849 * Fixes a compilation error in the transform basic benchmark. This failure was exposed due to the recent revert of libhipcxx inclusion (ROCm#10637). ## Technical Details * Added a fallback path to include `thrust/functional.h` if no libhipcxx or libcudacxx is detected. * Also fallback to `thrust::detail::proclaim_copyable_arguments`. ## Test Plan * Compiled locally with and without fix. ## Test Result * Error reproduced without fix. * Resolved with fix. ## Submission Checklist - [x] Look over the contributing guidelines at https://github.com/ROCm/ROCm/blob/develop/CONTRIBUTING.md#pull-requests.
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.
Motivation
Management has decided to revert the CCCL 3.0 changes for ROCm 10.0. This PR does that.
Technical Details
Revert all PRs related to or otherwise depending on the CCCL 3.0 changes by cherry-picking the commit that did so:
#10464
Test Plan
Ran builds and CI checks in original revert PR.
Test Result
Passed
Submission Checklist
JIRA ID: AIRDEL-36