feat(tensilelite): fused GEMM + all-to-all (GemmA2A) on gfx1250 #16880
All Vouch review confidence checks passed
Residual risk 0.24 = Change Risk (0.45) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.45 · 444 lines diff across 5 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.365
Shallow Review Depth
shallow_review_depth
0.344
Real PR Conversation Timeline
1 comments
"Review active on #16880"
general
weight: 0.35
DDEle
Motivation
hipBLASLt's fused GEMM + all-to-all (
FusedA2A=GemmA2A) runs a matrix multiply on each of up to 8 ranks and, from inside the same kernel, hands each finished block of output to the GPU's copy engine (SDMA), which moves it into the peer's receive buffer and raises a flag there. TensileLite generates this kernel for gfx942 and gfx950 only. This pull request brings it to gfx1250, whose instruction set, copy-command layout, work-group clusters and partitioned devices each need their own handling. It uses the stinkytofu support added in ROCm/rocm-libraries#16863.JIRA ID : AIHPBLAS-5959
Technical Details
[MacroTile0, pitch bits, width bits]; the checked-in gfx950 predicate record is regenerated.ClusterDimthe work-group reordering runs on whole clusters, so a cluster still covers one aligned block of output, and withClusterAIDMappingit splits the output between the two halves of the chip. Each band ofClusterDim[1]adjacent token tiles is sent with one copy command.ClusterAIDMapping=-2solutions match only devices with 8 XCCs), which the cluster split relies on. @Jinp800125 is working onClusterAIDMapping, so it may land in another form; this pull request will be rebased on whatever lands.A2AGemmstays gfx942/gfx950 only. New configurationsTests/common/comm/gfx1250/fused_a2a.yamlandfused_a2a_cluster.yaml. gfx950 output is unchanged apart from one barrier comment.Test Plan
Characterization tests check the gfx1250 handshake code (poll scopes, the kept barrier, device-scope stores, one command per lane), and that the cluster kernels carry the work-group reordering and keep the cluster barrier before the PUSH/local gate. Unit and C++ tests cover the barrier pass, the copy-size predicate on gfx9 and gfx1250, the admission, and the PCI id matching of the client.
Test Result
On the host, the TensileLite unit and characterization suites and
tensilelite-testspass, apart from failures that also occur without these changes in the same environment.Submission Checklist