feat(tensilelite): run gfx950 A2AGemm on the subtile main loop #16606
All Vouch review confidence checks passed
Residual risk 0.24 = Change Risk (0.42) × (1 − Review Confidence (0.43)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.42 · 320 lines diff across 4 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 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.345
Shallow Review Depth
shallow_review_depth
0.344
Real PR Conversation Timeline
1 comments
"Review active on #16606"
general
weight: 0.35
yzhang93
JIRA ID : ROCM-27524
Motivation
A2AGemm (
FusedA2A: A2AGemm) is a TensileLite GEMM kernel that also performs an all-to-all exchange: while it multiplies, it gathers the K slices of matrix B from the other GPUs through the SDMA copy engines and consumes them one segment at a time. hipBLASLt runs it through the fused prologue added in #15352. The kernel could not use the subtile main loop (UseSubtileImpl), the faster BF16 GEMM path on gfx950, because it reran the loop's prologue and tail for every segment. On the production shapes the subtile kernels are faster.Technical Details
FusedA2A: A2AGemmruns on the subtile kernel body, with the segment switches outside the loop body.SwizzleTensorA/Bis rejected for A2AGemm because the segment offsets do not follow the pre-shuffled layout.fused GEMM+A2A logic row ... has 8 fields.A2ASubRounds1, 2 and 4, for the production shapes and the multi-process test shapes.test_a2a_gemm_loop_char.ambr, gains the kernel names of the new test groups.Test Plan
comm/gfx950/a2a_gemm_loop.yamlgains subtile and single-pipeline groups, andtest_a2a_gemm_loop_char.pychecks where each kernel switches segments and that the loop body contains no A2A code. The TensileLite unit suite, the comm configs, the hipBLASLt fused tests andhipblaslt-bench-a2a --verifywere run on MI355X.Test Result
The unit suite shows only the failures that develop shows in the same environment. On 8 MI355X GPUs, the comm configs pass with full validation at every world from 2 to 8 that they list, the hipBLASLt fused single-GPU and multi-GPU tests pass, and
hipblaslt-bench-a2a --verifypasses and selects the solution in the logic for each shape.Submission Checklist