← Back to Pull requests

feat(hipccl) CCCL 3.2 parity for hipcub and rocthrust #15775

Open
amd-jmahovsky opened this pull request with 60038 lines diff across 945 files
View on GitHub
amd-jmahovsky amd-jmahovsky commented on Nov 13, 2026 18:00 UTC
Author

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

  • Look over the contributing guidelines at https://github.com/ROCm/TheRock/blob/main/GOVERNANCE.md#pull-requests.
  • Diff: 60038 lines (+27766 / -32272) across 945 files Reviewer: amd-mcieslak Review duration: 25183m
    All Vouch review confidence checks passed
    Residual risk 0.20 = Change Risk (0.72) × (1 − Review Confidence (0.72)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.72 · 60038 lines diff across 945 files
    0.72
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.46 · 5 substantive comment(s)
    0.46
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    71%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.400
    Mass File Touch mass_file_touch
    0.080
    Real PR Conversation Timeline
    11 items
    Naraenda Naraenda commented on Nov 20, 2026 13:27 UTC
    Contributor

    Added 30597b2 and c9d8db0. Without these, rocThrust throws compile errors. Also rebased onto latest 3.1 staging.

    therock-pr-bot[bot] therock-pr-bot[bot] commented on Nov 21, 2026 19:13 UTC
    Bot

    <!-- 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.

    🙋 Wish to Override Policy?

    therock-pr-bot[bot] therock-pr-bot[bot] commented on Nov 21, 2026 19:28 UTC
    Bot

    <!-- therock-pr-bot-fix-policies -->
    🎉 All checks passed! This PR is ready for review.

    Naraenda Naraenda commented on Nov 23, 2026 11:12 UTC
    Contributor

    Added:
    39d9703 to resolve Windows TheRock CI build failure.
    580d4ce to resolve Windows TheRock CI linking failure

    amd-mcieslak amd-mcieslak commented on Nov 23, 2026 20:00 UTC
    Reviewer

    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.

    amd-mcieslak amd-mcieslak commented on Nov 23, 2026 20:03 UTC
    Contributor

    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?

    amd-mcieslak amd-mcieslak commented on Nov 23, 2026 20:10 UTC
    Contributor

    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?

    amd-mcieslak amd-mcieslak approved these changes on Nov 23, 2026 20:47 UTC
    Approved Reviewer

    Thanks for making the changes. LGTM.

    Naraenda Naraenda commented on Nov 23, 2026 22:17 UTC
    Contributor

    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.

    amd-jmahovsky amd-jmahovsky commented on Nov 23, 2026 22:22 UTC
    Author

    > 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?

    Reviewers
    Assignees
    amd-jmahovsky amd-jmahovsky
    Labels
    risk: low confidence: 71.7% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 71.5% (HIGH) · Higher = larger blast radius
    71.5%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 71.7% · Lower = rushed or shallow review
    71.7%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 20.2% · Safe to merge
    20.2%