Fix build topology for rocprofiler-sdk and aqlprofile #9792
All Vouch review confidence checks passed
Residual risk 0.19 = Change Risk (0.36) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.36 · 200 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 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
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.317
Real PR Conversation Timeline
1 comments
"Review active on #9792"
general
weight: 0.35
ScottTodd
Motivation
<!-- Explain the purpose of this PR and the goals it aims to achieve. -->
<!-- Most pull requests should be associated with at least one GitHub issue -->
<!-- GitHub issue: https://github.com/ROCm/TheRock/issues/1234 -->
As a part of enabling SPIR-V in TheRock (https://github.com/ROCm/TheRock/issues/6918) it was found that THEROCK_ENABLE_ROCPROFILER_COMPUTE and THEROCK_ENABLE_ROCPROFV3 cannot be built alone, and that's why breaks build in case some of dependencies excluded.
This PR fixes missed dependances
Technical Details
Rocprofiler-sdk and roctracer requires hip headers at build time:
- find_package(hip REQUIRED... (src/therock/rocm-systems/projects/rocprofiler-sdk/cmake/rocprofiler_config_interfaces.cmake:118)
- roctracer: find_package(HIP REQUIRED CONFIG) (rocm-systems/projects/roctracer/CMakeLists.txt:58)
Aqlprofile declared with hip deps:
- therock_cmake_subproject_declare(aqlprofile <...> RUNTIME_DEPS hip-clr (profiler/CMakeLists.txt:50-68)
<!-- Explain the changes along with any relevant GitHub links. -->
This PR adds required dependency to unblock alone build and SPIR-V build.
Test Plan
TheRock build with THEROCK_ENABLE_ROCPROFILER_COMPUTE and THEROCK_ENABLE_ROCPROFV3 alone
<!-- Explain any relevant testing done to verify this PR. -->
Test Result
TheRock build with THEROCK_ENABLE_ROCPROFILER_COMPUTE and THEROCK_ENABLE_ROCPROFV3 alone successfully.
<!-- Briefly summarize test outcomes. -->
Submission Checklist