Result: L1 reuse of synchronous loads between the CTAs of an SM on GB10
The measurement registered in v0.3-sync-load-gemm-plan.md (as amended before any implementation), read by its frozen rules. Diagnostic: no core, profile or rule changes.
Capture
- Measurement commit
df2841e. Binary built on Spark 1 with CUDA 13.0 forsm_121a, SHA-256ea578e6020cbfddb0dde624c7c4cba54b254f743fc7a938f5559f5ff96f0ff48. In its assembler output the default-cached instance loads withLDG.E.128and the.cginstance withLDG.E.128.STRONG.GPU, with the same count of loads, barriers, shared memory stores,ldmatrixand MMA (sass-summary.json; reported, not a registered check). - One session on 2026-11-27, build from 23:14:26 UTC, capture from 23:16:03 to 23:16:17 UTC, all under the GPU lock, after 8 had released it. The quiet-host gate passed; the pilot froze 12 points; three processes, all host-checked and valid (busiest second 5.3% to 5.5%), no replacement used; every launch passed
long_launch.verify. SM clock 2511 to 2564 MHz. In every point of every process the CTAs ran exactly as many per SM as asked (from%smid). - Raw: capture.json, pilot.json, the freeze, and the reading by
microbench/sync_load_reuse.py judge, judge.json.
Readings
- Capture rules. Rules 1 and 2: 0 failing lists in each process. Rule 3: 0 of 12 points. No co-residency failure. Both levels are read.
Per-step time in ns, median of the three processes:
| Level | CTAs per SM | Sharing | Default-cached | .cg |
|---|---|---|---|---|
| L2-resident | 1 | 541.0 | 541.4 | |
| L2-resident | 2 | disjoint | 866.3 | 863.0 |
| L2-resident | 2 | shared | 563.9 | 866.7 |
| DRAM | 1 | 3258.9 | 3233.0 | |
| DRAM | 2 | disjoint | 6571.7 | 6572.8 |
| DRAM | 2 | shared | 3235.8 | 3239.8 |
- L1 reuse at two CTAs per SM.
- L2-resident: the default-cached
disjointstep is 53.5%, 54.0% and 52.6% slower thansharedin the three processes, and the.cgsteps differ by -0.4% in each. L1 reuse is shown. - DRAM: the default-cached
disjointstep is 103% slower thanshared, and so is the.cgstep (103%): not resolved by the rule.
- L2-resident: the default-cached
- Candidate 1 is decided by the L2-resident level: L1 reuse between the CTAs of an SM is shown.
- The default-cached path at one CTA per SM differs from
.cgby -0.1% to -0.2% (L2-resident) and +0.3% to +1.2% (DRAM), under 2% in every process at both levels: it does not differ. Candidate 2 of the plan is not supported.
Reported without a verdict
- At the L2-resident level, with
sharedand default-cached loads, two CTAs per SM take 564 ns per step, close to the 541 ns of one CTA alone: the second CTA's loads cost little, as if served by L1. With.cg, or withdisjointaddresses, two CTAs take 863 to 867 ns. - At the DRAM level both load paths are about twice as fast
sharedasdisjoint. Insharedthe SM's two CTAs read one region, so the GPU reads half as many distinct bytes from DRAM; with.cgtoo, the second read is served by L2, not DRAM. This is why the DRAM level cannot isolate L1 reuse, and the plan does not use it to decide. - Where it could act (the plan's item on the archived IRs; opened data, CPU only, coresidency-v02-gb10.json). Of the 108
num_stages = 1configurations of the v0.2 GB10 GEMM holdout IRs, the core's occupancy onprofiles/gb10-0.23.0.jsonputs more than one CTA per SM in 104 (2 to 10). Under the core's round-robin dispatch (CTAcon SMc mod 48), in 101 of them the co-resident CTAs of at least one SM read the same A or B tile in the first wave (A tiles only in 82, B tiles only in 4, both in 15), and in 94 every SM with co-resident CTAs does; where a shape has a single row of tiles (the decode shapes at their larger tile heights), every CTA reads the same A tile. This assumes the hardware dispatches and steps the CTAs as the core does, which was not measured. - The forced carveout leaves an L1 smaller than what Triton's
num_stages = 1kernels get (the amendment's stated cost), so this shows that the mechanism exists on GB10, not how much it saves in a real kernel. The RTX 4070 part waits for a quiet window.