← Back to Pull requests

Revert "Temporarily define HSA_HOTSWAP_DEFAULT_ON project flag." [bkc 20261103] #9766

Closed
unknown closed this pull request without merging on Nov 05, 2026 19:29 UTC
View on GitHub
unknown unknown commented on Nov 05, 2026 18:18 UTC
Author

Cherry-picks:

  • #9702
  • Motivation

    Cherry-pick request for the BKC 26.14 release branch (release/bkc/therock-10.3-20261103), requested in the BKC release coordination thread.

    #9702 reverts #8528 ("Temporarily define HSA_HOTSWAP_DEFAULT_ON project flag") now that ROCm/rocm-systems#11575 provides the default in ROCr itself. The branch point still carries patches/amd-mainline/rocm-systems/0001-rocr-honor-build-time-hotswap-default.patch.

    Technical Details

  • Clean cherry-pick (git cherry-pick -x) of the merged main commit 613885f027 (#9702): removes the flag from FLAGS.cmake and deletes patches/amd-mainline/rocm-systems/0001-rocr-honor-build-time-hotswap-default.patch.

  • Merged to main on 2026-11-03, after the TheRock commit the 26.14 branch was cut from (2fd7f96ef3), so it is not in the branch.

  • Depends on the rocm-systems cherry-pick of #11575 (https://github.com/ROCm/rocm-systems/pull/15135). Both should land together, with the rocm-systems submodule bumped to include it.
  • Test Plan / Result

    Validated on main in the original PR (#9702). The diff here is identical to #9702. No additional testing was done on the release branch.

    Review

    @ammarwa is the owner of the original change; please review this cherry-pick.

    🤖 Generated with Claude Code

    Diff: 165 lines (+123 / -42) across 2 files Reviewer: ScottTodd Review duration: 70m
    All Vouch review confidence checks passed
    Residual risk 0.14 = Change Risk (0.35) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.35 · 165 lines diff across 2 files
    0.35
    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.306
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #9766"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% 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: 35% (MEDIUM) · Higher = larger blast radius
    35%
    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: 13.8% · Safe to merge
    13.8%
    Repository