Skip to main content

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 for sm_121a, SHA-256 ea578e6020cbfddb0dde624c7c4cba54b254f743fc7a938f5559f5ff96f0ff48. In its assembler output the default-cached instance loads with LDG.E.128 and the .cg instance with LDG.E.128.STRONG.GPU, with the same count of loads, barriers, shared memory stores, ldmatrix and 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​

  1. 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:

LevelCTAs per SMSharingDefault-cached.cg
L2-resident1541.0541.4
L2-resident2disjoint866.3863.0
L2-resident2shared563.9866.7
DRAM13258.93233.0
DRAM2disjoint6571.76572.8
DRAM2shared3235.83239.8
  1. L1 reuse at two CTAs per SM.
    • L2-resident: the default-cached disjoint step is 53.5%, 54.0% and 52.6% slower than shared in the three processes, and the .cg steps differ by -0.4% in each. L1 reuse is shown.
    • DRAM: the default-cached disjoint step is 103% slower than shared, and so is the .cg step (103%): not resolved by the rule.
  2. Candidate 1 is decided by the L2-resident level: L1 reuse between the CTAs of an SM is shown.
  3. The default-cached path at one CTA per SM differs from .cg by -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 shared and 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 with disjoint addresses, two CTAs take 863 to 867 ns.
  • At the DRAM level both load paths are about twice as fast shared as disjoint. In shared the SM's two CTAs read one region, so the GPU reads half as many distinct bytes from DRAM; with .cg too, 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 = 1 configurations of the v0.2 GB10 GEMM holdout IRs, the core's occupancy on profiles/gb10-0.23.0.json puts more than one CTA per SM in 104 (2 to 10). Under the core's round-robin dispatch (CTA c on SM c 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 = 1 kernels 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.