← Back to Pull requests

Add preset knobs to disable ASAN for MIOpen's hipconv/ck_impl #9813

Closed
unknown closed this pull request without merging on Nov 11, 2026 00:16 UTC
View on GitHub
unknown unknown commented on Nov 07, 2026 08:50 UTC
Author

Motivation

Nightly ASAN builds have failed repeatedly when ld.lld links libMIOpen.so, with relocation R_X86_64_PC32 out of range errors — libMIOpen.so statically links hipconv, and ASAN's instrumentation on its dense, per-arch templated code has grown that link past the linker's +/-2GB relocation limit.

ISSUE ID : https://github.com/ROCm/TheRock/issues/9812

Technical Details

Adds miopen-hipconv_SANITIZER to linux-asan-base in CMakePresets.json, following the exact naming/placement convention already used for other per-subproject overrides there (amd-llvm_SANITIZER, hipcc_SANITIZER, etc.), set to OFF.

ml-libs/CMakeLists.txt translates it into HIPCONV_DISABLE_ASAN in MIOpen's subproject CMAKE_ARGS — consumed on the rocm-libraries side (companion PR: ROCm/rocm-libraries#15333, merged) to strip -fsanitize=address from just hipconv. The rest of MIOpen, and all other subprojects, keep their existing sanitizer configuration unchanged.

(An earlier version of this PR also added a ck_impl knob, but across every observed ASAN nightly failure, none were ever in ck_impl's CK grouped-conv plugins, so that knob was dropped as unevidenced.)

Test Plan

  • Confirmed the underlying failure mode is fixed when the offending rocm-libraries commit is reverted (run 42324389102)

  • Verified a full linux-release-asan-debug gfx950 build passes with this change plus the companion rocm-libraries PR, with the originally-suspected commits retained (not reverted) (run 42723912269)
  • Diff: 206 lines (+154 / -52) across 2 files Reviewer: nunnikri Review duration: 5245m
    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 · 206 lines diff across 2 files
    0.36
    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.319
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #9813"
    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: 36.4% (MEDIUM) · Higher = larger blast radius
    36.4%
    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: 14.4% · Safe to merge
    14.4%
    Repository