feat(hipccl) CCCL 3.2 parity for hipcub and rocthrust #15775
Added 30597b2 and c9d8db0. Without these, rocThrust throws compile errors. Also rebased onto latest 3.1 staging.
<!-- therock-pr-bot-policy-check -->
✅ All Checks Passed — Ready for Review
| Check | Status | Details |
|---|:---:|---|
| 📝 PR Description | ✅ Pass | — |
| ⛔ Forbidden Files | ✅ Pass | — |
| 🧪 Unit Test | ✅ Pass | — |
| 🔎 pre-commit | ✅ Pass | — |
| 🚫 Draft PR | 🔜 To Be Enabled | — |
| 🚩 Feature Flag | 🔜 To Be Enabled | — |
| 📊 Code Coverage | 🔜 To Be Enabled | — |
| 🤖 therock-pr-bot | ✅ Pass | — |
🎉 All checks passed! This PR is ready for review.
📖 Need help? See the Policy FAQ for details on every check and how to fix failures.
<!-- therock-pr-bot-fix-policies -->
🎉 All checks passed! This PR is ready for review.
Added:
39d9703 to resolve Windows TheRock CI build failure.
580d4ce to resolve Windows TheRock CI linking failure
hipCUB bumps MIN_ROCPRIM_PACKAGE_VERSION from 5.0.0 to 5.1.0 but rocThrust still declares MIN_ROCPRIM_PACKAGE_VERSION 5.0.0. thrust/system/hip/detail/transform.h calls predicated rocprim::transform which rocPRIM lists as newly added in 5.1.0. Also, a small inconsistency: rocThrust hardcodes hipccl_require(libhipcxx(3.4)), in rocthrust/cmake/Dependencies.cmake, whereas hipCUB uses a cache variable.
rocThrust 5.0.0 changelog promised that if there isn't a libhipcxx >= 3.0.3, thrust::tuple, thurst::pair and thrust::zip_iterator fall back to rocThrust 4.4.0 implementations. Is that still true?
rocthrust/CHANGELOG.md wasn't updated, while hipCUB and rocPRIM both were. Should the tuple/pair fallback removal and libhipcxx 3.4 requirement be in there?
Thanks for making the changes. LGTM.
rocthrust/CHANGELOG.md wasn't updated, while hipCUB and rocPRIM both were. Should the tuple/pair fallback removal and libhipcxx 3.4 requirement be in there?
The removals will be pushed to ROCm 11.x, since there isn't enough leeway to let downstream adjust to the deprecations.
> rocthrust/CHANGELOG.md wasn't updated, while hipCUB and rocPRIM both were. Should the tuple/pair fallback removal and libhipcxx 3.4 requirement be in there?
> The removals will be pushed to ROCm 11.x, since there isn't enough leeway to let downstream adjust to the deprecations.
Ok, so the CHANGELOG is now incorrect. Should it just mention the liphipcxx 3.4 requirement?
amd-mcieslak
amd-jmahovsky
Motivation
Merge the CCCL 3.2 parity staging branch into develop.
Multiple independently reviewed PRs have been merged into the staging branch:
https://github.com/ROCm/rocm-libraries/pull/14589
https://github.com/ROCm/rocm-libraries/pull/13963
Jira ID: AIPRIMS-304
Technical Details
We need to merge these changes simultaneously to keep them synchronized in builds.
Test Plan
Each change has been individually run through CI in the PRs linked above.
Run CI once more to confirm that everything builds correctly and all tests pass.
Test Result
In progress.
Submission Checklist