← Back to Pull requests

Fix build topology for rocprofiler-sdk and aqlprofile #9792

Open
unknown opened this pull request with 200 lines diff across 2 files
View on GitHub
unknown unknown commented on Nov 06, 2026 15:55 UTC
Author

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

  • [X] Look over the contributing guidelines at https://github.com/ROCm/TheRock/blob/main/CONTRIBUTING.md.
  • Diff: 200 lines (+150 / -50) across 2 files Reviewer: ScottTodd Review duration: 6444m
    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
    0.36
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.02 · 1 substantive comment(s)
    0.02
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    46%
    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
    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
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 46.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: 36.2% (MEDIUM) · Higher = larger blast radius
    36.2%
    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: 46.7% · Lower = rushed or shallow review
    46.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: 19.3% · Safe to merge
    19.3%
    Repository