Add preset knobs to disable ASAN for MIOpen's hipconv/ck_impl #9813
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
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 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
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
nunnikri
Motivation
Nightly ASAN builds have failed repeatedly when
ld.lldlinkslibMIOpen.so, withrelocation R_X86_64_PC32 out of rangeerrors —libMIOpen.sostatically linkshipconv, 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_SANITIZERtolinux-asan-baseinCMakePresets.json, following the exact naming/placement convention already used for other per-subproject overrides there (amd-llvm_SANITIZER,hipcc_SANITIZER, etc.), set toOFF.ml-libs/CMakeLists.txttranslates it intoHIPCONV_DISABLE_ASANin MIOpen's subprojectCMAKE_ARGS— consumed on the rocm-libraries side (companion PR: ROCm/rocm-libraries#15333, merged) to strip-fsanitize=addressfrom justhipconv. The rest of MIOpen, and all other subprojects, keep their existing sanitizer configuration unchanged.(An earlier version of this PR also added a
ck_implknob, but across every observed ASAN nightly failure, none were ever inck_impl's CK grouped-conv plugins, so that knob was dropped as unevidenced.)Test Plan
linux-release-asan-debuggfx950 build passes with this change plus the companion rocm-libraries PR, with the originally-suspected commits retained (not reverted) (run 42723912269)