← Back to Pull requests

fix(ci): pass GPU_TARGETS to rocprofiler-sdk test configure #10206

Closed
unknown closed this pull request without merging on Nov 24, 2026 02:55 UTC
View on GitHub
unknown unknown commented on Nov 23, 2026 06:20 UTC
Author

Motivation


  • rocprofiler-sdk tests fail in 1-GPU jobs with per-GPU isolation: amdgpu-arch prints the full target ID, so .hsaco file names don't match.

  • Fixes #10205
  • Technical Details


  • get_cmake_config_cmd(): add -DGPU_TARGETS=<gfx> from get_gpu_architecture_portable() (offload-arch, then rocminfo; feature suffix dropped; already used by libhipcxx / hipthreads tests).

  • Not passed when detection fails: same as today.

  • The CDash dashboard path uses the same configure command.
  • Test Plan


  • Unit tests: rocprofiler_sdk_dashboard_test.py (4 new).

  • Manual 1-GPU Slurm job on a Crusoe MI355X node (Apptainer, ROCR_VISIBLE_DEVICES=0, same isolation as linux-gfx950-1gpu-crusoe-rocm), running this branch's test_rocprofiler_sdk.py on main gfx950 artifacts (run 45018545731). test_artifacts.yml can't exercise 1 GPU today because rocprofiler-sdk is routed to the whole-node label on Crusoe.
  • Test Result


  • build_tools/github_actions/tests: 1384 passed.

  • 1-GPU job: configure has -DGPU_TARGETS=gfx950, all copy objects are gfx950_copy.hsaco, the 4 tests from #10205 pass, no Could not load code object.

  • ctest: 7 failed of 2479 (before: 40 of 2394). The 7 are rocpd/otf2 tests failing with No module named 'otf2' in the probe venv (no compiler in the image to build otf2), not related to this change.
  • Submission Checklist


  • Look over the contributing guidelines at https://github.com/ROCm/TheRock/blob/main/CONTRIBUTING.md.
  • Diff: 184 lines (+138 / -46) across 2 files Reviewer: geomin12 Review duration: 1235m
    All Vouch review confidence checks passed
    Residual risk 0.23 = Change Risk (0.59) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.59 · 184 lines diff across 2 files
    0.59
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    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.312
    Shallow Review Depth shallow_review_depth
    0.289
    Sensitive Paths sensitive_paths
    0.059
    Real PR Conversation Timeline
    1 comments
    "Review active on #10206"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed sensitive_module
    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: 58.9% (MEDIUM) · Higher = larger blast radius
    58.9%
    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: 60.5% · Lower = rushed or shallow review
    60.5%
    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: 23.2% · Safe to merge
    23.2%
    Repository