feat(tensilelite): write the ranks on a gfx1250 GemmA2A rank's own card directly #16923
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 · 428 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.363
Shallow Review Depth
shallow_review_depth
0.344
Real PR Conversation Timeline
1 comments
"Review active on #16923"
general
weight: 0.35
DDEle
Motivation
The gfx1250 fused GEMM + all-to-all kernel (ROCm/rocm-libraries#16880) reaches every destination rank through a copy engine (SDMA), including the rank itself and, on a DPX card, the other partition of the same card. For those destinations the kernel's own work-groups can store the data into the receive buffer, and every copy queue opened to them shares the partition's copy engines with the others. This pull request lets the gfx1250 kernel write a rank directly when it is given no queue for it, and makes the TensileLite client and the hipBLASLt library use that for the ranks on the caller's own card.
JIRA ID : AIHPBLAS-5959
Technical Details
peer_queueBufentry is null. The argument layout does not change, and with every queue present every rank goes through SDMA as before.UseSubtileImpl,CompactLoopStoreorStoreRemapVectorWidth > 0, and building the kernel arguments withGlobalSplitUother than 1 throws.--fused-a2a=GemmA2Aon gfx1250 each rank writes every rank on its own card (same PCI domain, bus and device, itself included) directly and opens no copy queue to them; the remaining queues are created in rank order, the k-th asking for the k-th engine of its link's recommended mask. A gfx1250 GemmA2A library and a client from before and after this change cannot be mixed.HIPBLASLT_FUSION_A2A_SDMA_QUEUESentry whose four addresses are all null means the kernel writes that rank directly. Partly null entries are still rejected, as are all-null entries on other architectures (HIPBLAS_STATUS_INVALID_VALUE). This changes the meaning of the attribute for callers of the experimental fused API (HIPBLASLT_ENABLE_GEMM_A2A_FUSION); no signature or structure changes.Test Plan
A characterization test checks that the gfx1250 GemmA2A kernels carry the direct-store path. Unit and C++ tests cover the rejected store parameters, the split-K guard, the client's card mask and queue plan, and the library's handling of all-null and partly null queue entries.
Test Result
On the host, the TensileLite unit and characterization suites,
tensilelite-testsand the host-sidehipblaslt-testFusedA2A cases pass, apart from failures that also occur without these changes in the same environment.Submission Checklist