[Mosaic GPU] Exclude always-false instructions from register count #42069
All Vouch review confidence checks passed
Residual risk 0.21 = Change Risk (0.39) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.39 · 255 lines diff across 3 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
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.332
Real PR Conversation Timeline
1 comments
"Review active on #42069"
general
weight: 0.35
bchetioui
The Mosaic tile copy test (
mosaic.gpu_test.test_copy_tiled) for tiled array round-trip through GPU shared memory and registers fails an assertion based on address-register count with a consistent off-by-one (+1) greater than expected LDS (load from shared memory) address-register count, while it passes the assertion on the tiled array values.The failure is observed for all argument combinations of the test for dtype=int8|int32 and exclusively on H100 with CUDA 13.5 while it is passing on all other device types (e.g Blackwell, Rubin). It is passing on H100 with CUDA 13.4 with the same JAX source.
Inspection of the SASS dump from execution of test_copy_tiled0 shows that the error appears to be attributable to a false-positive inclusion of a false-predicate instruction in the test's counting utility. The failing CUDA 13.5 output contains four
@!PT LDS RZ, [RZ]instructions that are absent from the passing CUDA 13.4 output which account for the +1 unexpected additional address-register.False-predicate instructions are not executed at all and can be excluded from the count in the test.