[XLA:GPU] Expose ROCm's libhipcxx from include/hipccl as its own include root #52725
All Vouch review confidence checks passed
Residual risk 0.14 = Change Risk (0.36) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.36 · 183 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
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.312
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #52725"
general
weight: 0.35
amd-mcieslak
Motivation
As part of the move to the CCCL 3.0-3.3 API, AMD is introducing hipCCL, a
unified package for rocPRIM, hipCUB and rocThrust that mirrors the role
NVIDIA's CCCL plays for CUB, Thrust and libcu++. hipCCL installs libhipcxx under
<rocm>/include/hipccl, which Bazel did not expose, so hipCUB could fail with 'libhipcxx could not be found'.📝 Summary of Changes
This change works with both the legacy and the new (upcoming) hipccl layouts. It adds
:rocm_libhipcxx_includes, which stripsinclude/hipcclso the headersare reachable by hipCUB, and depends on it from
:rocm_headers_includes.The glob covers the whole directory rather than naming subdirectories, because
libhipcxx headers cross-reference each other across cuda/, hip/, nv/ and
amd/.
allow_emptyleaves ROCm installs withoutinclude/hipcclunchanged.🎯 Justification
This change is important to avoid build failures with ROCm's planned migration to hipCCL 3.x.
🚀 Kind of Contribution
Please remove what does not apply: 🐛 Bug Fix
📊 Benchmark (for Performance Improvements)
N/A
🧪 Unit Tests:
Tested by building XLA in two ROCm containers:
include/
No unit tests were added.
🧪 Execution Tests:
N/A
Reviewed and approved for AMD by the ROCm XLA team in ROCm/xla#1419.