Post-hoc analysis: GB10 GEMM hypotheses H3 and H4
Post-hoc. Everything here uses the opened v0.2 GB10 GEMM holdout labels (validation/v02-holdout-scores.json). It cannot change the v0.2 decisions and it does not choose any model structure. It locates where the model's error sits for v0.2-posthoc.md H3 and H4, and fixes the microbenchmarks that must decide any change. Structure is chosen on those microbenchmarks only.
Data and method
- Predictions and KernelIR: the formal v0.2 prediction archive (
predictions.jsonSHA-25674caeeeb...) and its regenerated IR. - Core: the
v0.2-finalwheel (build_infoformal ate70824b). The core at78c664e(main) gives identical predictions on every input below; between the two only comments changed. - Profiles:
v0.2-finalGB10 (0.21.0-posthoc, SHA-2566f4c9340..., the frozen one) and main (0.22.0-posthoc, five-process MLP medians). - Counterfactuals change one profile or IR field, nominal profile, no draws. Unchanged, they reproduce the archived nominal predictions.
- Driver: scripts/posthoc_gb10_h3_h4.py. Outputs: counterfactuals-profile-0.21.0-posthoc.json and counterfactuals-profile-0.22.0-posthoc.json.
H3: prefill-896 num_stages = 4 configs predicted 50% to 57% fast
Confirmed
- The miss is DRAM traffic from L2 reuse across waves, not the pipeline.
prefill-896is M = 896, N = 6144, K = 3328 withGROUP_M = 1, so B is 41 MB against a 24 MB L2 and each wave coversctas_per_sm * 48 / tiles_nrows of M. Thes4configs fit fewer CTAs per SM, so a wave covers fewer rows and B is read from DRAM more times. If each wave reads its unique A and B panels once, with LRU at wave grain,m128n128k64-s4(1 CTA per SM) moves 292 MB, a floor of 1131 us at 258 GB/s; it measures 1185 us cold. The fastest config (m128n128k64-w8-s1, 2 CTAs per SM) moves 170 MB, a floor of 656 us; it measures 775 us. The model's DRAM bytes are 95 to 112 MB for thes4configs and 100 MB for the fastest. - Mechanism. Truncating the grid of
m128n128k64-w8-s4(cold) to 48, 96, 144, 192 and 336 CTAs gives 43, 60, 71, 82 and 112 MB of DRAM: the first wave is right (B plus A), each later wave adds 11 to 17 MB instead of about 42 MB. In the L2 model,end_tileadvances the stream clock by a chunk's full K stream only when the chunk's last tile ends, and a later read hits with the rescan curve at the clock difference. The 48 B panels of a wave end in the same event, so the clock steps through them in processing order and panel j gets a reuse distance of 41.7 MB minus (j + 1) times 0.87 MB. About 31 of the 48 fall below the GB10 rescan cliff (near 27 MB) and are charged as full hits: 65% of the next wave's B, matching the 27 of 41 MB the grid truncation shows. On hardware those panels stream in step along K, so LRU holds only every panel's last K slices when the next wave starts at K = 0. The profile's own rescan curve is below 0.03 above 1.125 times L2. - Counterfactual. Setting every
l2_rescan_hit_rate_by_working_setpoint to zero removes cross-wave hits (for this case the warm hit is the curve at the 47 MB footprint, 0.005, so warm and cold are both clean):
| Case, cache | Profile | Fastest config's rank | Kendall tau-b | Top-5 regret |
|---|---|---|---|---|
prefill-896 warm | 0.21.0-posthoc | 6 to 1 | 0.698 to 0.790 | 5.27% to 0.00% |
prefill-896 cold | 0.21.0-posthoc | 6 to 1 | 0.705 to 0.786 | 1.89% to 0.00% |
prefill-896 warm | 0.22.0-posthoc | 5 to 1 | 0.681 to 0.861 | 0.00% to 0.00% |
prefill-1792 warm | 0.21.0-posthoc | 3 to 3 | 0.683 to 0.771 | 0.00% to 0.00% |
The three s4 configs go from -50% to -54% error to -4% to +0.4%. This is a locating tool, not a fix: zeroing the curve also removes legitimate cross-wave reuse, and mask-mnk-641 drops from tau 0.81 to 0.72.
4. The pipeline itself does not explain it. Setting the s4 configs' prefetch distance to 0 slows them by 28% (709 against 555 us for m128n128k64-w8-s4), far short of the 1185 us measured. Halving the MMA rate, dividing the shared memory bandwidth by three, or tripling the ldmatrix bytes shifts all configs alike and does not reorder s4 against s1.
What decides it
The wave-rescan microbenchmark (below) measures how much of a re-reading wave hits L2 for GEMM-shaped B streams. The candidate forms use only existing profile fields and have no free parameter:
- a (current core): end-order stream clock, predicted by the core on the synthetic KernelIR.
- b: chunks that end in the same event record the stream clock from before the event, and the clock then advances past all of them, so a re-read sees the whole wave footprint:
l2_rescan_hit_rate_by_working_setat that footprint. (Recording the clock from after the event would make every difference zero, andmax(full_stream)would then charge all 48 panels as hits.) - c: LRU at K-slice grain with capacity
l2_effective_capacity_bytes: a forward re-read hits fully if the wave fits and not at all otherwise; a reversed re-read hitsmin(1, capacity / footprint).
At 2 and 3 times L2, form a predicts 70% and 50% hits, forms b and c predict none. Reversed means the K direction: even waves walk K up, odd waves walk it down, so an odd wave starts on the slices the previous wave touched last. This separates b from c (b stays near zero, c gives 50% and 33%); reversing only the panel order would not. KernelIR cannot express a reversed walk, so form a is not defined there.
The measured hit fraction of a re-reading wave interpolates its time per byte between the first wave of the same launch shape (all misses) and the 0.5 times L2 point of the same CTAs per SM and rows per wave (all hits). The first-wave baseline is a one-wave launch in the same K direction (up for forward points, down for reversed ones), so a direction-dependent prefetch effect cancels; the one-wave launches are baselines only and do not score forms a, b or c. Near the cliff form c is a step (1 at or below l2_effective_capacity_bytes, 0 above); it is reported as frozen, with no smoothing, and no capacity is inferred from these data.
H4: resident-wave (M = 48), top 8 within 3.6%
Confirmed
- Two errors of opposite sign straddle the DRAM ceiling. B is 66 MB, read once. The fastest group (
s4ands1with 2 CTAs per SM) measures 255.8 us cold, 258.3 GB/s, equal todram_bw_read_gbps; the model calls them DRAM-latency bound at 266 to 271 us (+4% to +5%). Thes2group (prefetch distance 0, 3 to 9 CTAs per SM) is called DRAM-bandwidth bound at the ceiling, 262.3 us, and measures 270 to 273 us. - Located on profile
0.21.0-posthoc. Scaling only the threecp_asyncMLP points from 512 KiB to 1.5 MiB (258.3, 257.4, 257.4 GB/s) by 1.05 takesresident-wave-exactcold from tau 0.309 and regret 5.52% to 0.598 and 0.39%; scaling the points below 512 KiB, at 2.3 MiB, or from 4.6 MiB does nothing. Scaling the whole curve by 1.02 is enough (0.738, 0.39%); making it monotone non-decreasing gets most of it (0.608, 0.39%). The closed loop of these configs sits on that part of the curve and delivers 2% to 3% below the bandwidth path's ceiling (dram_bw_by_active_sms, 257.7 GB/s at 48 SMs). - On profile
0.22.0-posthocthe case already scores well, by accident. Its MLP plateau (259 to 263 GB/s) lies above the unchangeddram_bw_by_active_sms(257.7), so the latency path no longer falls below the ceiling:resident-wave-exactcold tau 0.741, regret 0.39%, and none of the scalings in item 6 move it. The +4% to +5% latency-bound charge is gone: the measured top 8 are all predicted at 262.3 us, the active-SM ceiling (errors +0.1% to +2.5%), so the model ties them, and thes2group is still about 3% fast. In0.22.0the read ceiling 263.55 is the largest five-run MLP median (ld_global_v4, 1.5 MiB), not an independent probe, anddram_bw_by_active_smsand both closed-loop tables are unchanged from calibration runcal-20261125T102038Z-sm_121, so the curve and the ceiling still come from different sessions. - The DRAM rate differs by session. In gb10-memory-repeat-posthoc.json (five repeats on Spark 1), every DRAM closed-loop and MLP point at 384 KiB or more lies between 239 and 244 GB/s (spread under 1.5%). The
0.21.0single runs are 245 to 259, the0.22.0medians 259 to 263, the GEMM reached 258 during the holdout capture, and the independent read probe of thewave-rescansmoke run (2026-11-26 20:46 UTC) gave 247.8 before and after. The model combines curves and ceilings from different sessions in absolute GB/s, and a 2% disagreement between them decides this case.
What decides it
The b-stream microbenchmark measures M = 48-shaped B streams at DRAM. Every block of points is bracketed by an independent full-device read probe (ld.global.cg over 256 MiB after a clean flush, with its samples and UTC time), never the MLP maximum. Two errors are reported for every point: against the frozen profile in absolute bandwidth and time, and as a fraction of the block's probe, ratios above 1 kept. The first carries the session drift, which is the real floor for absolute predictions; the second isolates the shape of the curve and the latency or bandwidth classification. The questions are whether prefetch distance 1 or 2 with 2 CTAs per SM reaches the probe (on the GEMM, 0.21.0 gives 97% to 98% of the profile ceiling and 0.22.0 gives 100%), and whether prefetch distance 0 with 3 to 9 CTAs per SM stays about 5% below it (both profiles give 100%). Access pattern (128 or 256 byte rows against linear, which changes sector use and DRAM row-buffer hits) and the prefetch distance 0 phase effect are separate factors of the grid and are not merged into one term. A profile change is discussed only after the drift is shown to repeat across sessions, and then as an optional per-block reference value next to the absolute fields, not as a conversion of existing fields into ratios; errors of values that share one reference are treated as correlated.
Microbenchmarks and frozen predictions
Kernels: microbench/src/posthoc_gb10_kernels.cuh. Capture: microbench/capture_posthoc.py (GPU lock, quiet-host checks and the GB10 thermal gate of repeat_mlp.py). Synthetic KernelIR and predictions: microbench/posthoc_gb10_ir.py. The predictions were frozen before any capture: predictions-profile-0.21.0-posthoc.json and predictions-profile-0.22.0-posthoc.json.
| Mode | Question | Points | Held out |
|---|---|---|---|
wave-rescan | Hit fraction of re-reading waves; 1, 2, 4 CTAs per SM; 1 or 2 rows per wave; wave footprint 0.5 to 3 times L2; forward and reversed K | 108 | All 108: no parameter is set from them. The 0.5 times L2 points serve as the all-hit reference of the hit fraction |
staged-mma | H3 as stated: 16 and 32 KiB stages, 1 to 3 buffers, 1 and 2 CTAs per SM, 32 KiB ldmatrix and MMA per stage, L2 resident (at most 3 MiB, warmed up) | 40 | All |
b-stream | DRAM fraction of a same-session ceiling for M = 48 B streams; 1 to 3 buffers, 1 to 9 CTAs per SM, 4 to 32 KiB stages, 128 and 256 byte rows or linear, with and without GEMM-sized MMA | about 270 | All, unless a candidate needs a parameter: then one point (prefetch distance 0, 4 CTAs per SM, 8 KiB, linear) |
Each mode samples 15 times per point, and every timed b-stream launch follows a read-only flush of 128 MiB. Every kernel runs at least one MMA per stage, since the core models only kernels with MMA work. Occupancy is fixed by padding shared memory, recorded per point, and ptxas reports no spills for any instantiation. Captures run behind the GPU lock and the GB10 thermal gate, with telemetry every 0.5 s and a check that no large CPU job shares the unified memory. The 0.5 times L2 single waves last about 50 us, so launch overhead is a visible share of them.
A three-sample smoke run of wave-rescan on GB10 showed that the first version reversed K per pass, so with two rows per wave the second row of every wave was reversed too. The reversal now applies to whole odd waves. No frozen prediction depends on it: forms b and c are analytic and form a is not defined for reversed points.
Results
Captured on Spark 1 at 96646c0 (binary SHA-256 9ff6c14e...), 2026-11-26 20:51 to 20:56 UTC, 15 samples per point, GPU lock held, no other compute process, thermal gate passed before each mode (52 to 54 C, SM clock 2489 to 2515 MHz). Raw captures with telemetry: captures/; scores against the frozen predictions: scores.json, from microbench/posthoc_gb10_score.py. Forms a, b and c are scored as frozen, with no adjustment.
wave-rescan (H3)
Mean absolute error of the predicted hit fraction of a re-reading wave, over the 96 points that are not the 0.5 times L2 references (48 forward, 48 reversed), profile 0.22.0-posthoc (0.21.0 gives the same to three decimals):
| Form | Forward, all | Forward, 1.25 to 3 times L2 | Reversed, all | Reversed, 1.25 to 3 times L2 | Near the cliff (1.0 to 1.12 times), forward / reversed |
|---|---|---|---|---|---|
| a (current core) | 0.436 | 0.691 | not defined | not defined | 0.322 / not defined |
| b | 0.047 | 0.034 | 0.360 | 0.553 | 0.078 / 0.324 |
| c | 0.085 | 0.037 | 0.046 | 0.065 | 0.226 / 0.044 |
- Form a is rejected: above 1.25 times L2 a forward re-read hits 0.00 to 0.14 on hardware against 0.47 to 0.91 predicted, at every occupancy and rows per wave.
- Form b is rejected by the reversed points: odd waves walking K down hit 0.25 to 0.91 where b predicts 0.01 or less.
- Form c is the only one consistent with both directions. Reversed, it predicts 0.80, 0.67, 0.50, 0.33 at 1.25, 1.5, 2 and 3 times L2 against 0.69 to 0.91, 0.57 to 0.77, 0.37 to 0.61 and 0.25 to 0.38 measured.
- Its known deviation is the cliff: c is a step at
l2_effective_capacity_bytes, the hardware a slope (forward 0.89 to 0.99 at 1.0 times L2, 0.13 to 0.60 at 1.09 to 1.12 times). It is reported as frozen. - Two rows per wave hit 0.04 to 0.14 forward above 1.25 times L2, a little more than one row (0.00 to 0.02).
staged-mma (H3 as stated, negative control)
Over 40 points the model's stage turnaround has a mean absolute error of 5.4% (median 4.2%, at most 15.4%), the same with both profiles. In the prefill-896 s4 regime (1 CTA per SM, 3 buffers, 32 KiB stages, 0.4 to 1.6 us of MMA per stage) it is -5.1% to -1.3%. Multi-buffer pipelines with MMA are not mispredicted on GB10, so H3 as stated is rejected; the s4 miss is the cross-wave L2 reuse of item 2. The largest errors are stages with one MMA iteration, bound by the L2 port, predicted 13% to 15% fast.
b-stream (H4)
- The read probe is not a ceiling. The
ld.global.cgprobe moved between 226 and 249 GB/s within five minutes (one block: 246 before, 226 after), and the streams beat it at most points (fraction of probe up to 1.09). Normalizing by it adds its own noise, so the per-block fractions are recorded but not used for conclusions. A saturating probe is needed before any per-block reference value is considered. - Absolute errors against the frozen profiles: median 4.1% (
0.21.0) and 5.1% (0.22.0), mean 5.3% and 5.8%, almost all with the model fast. The session's best streams reach 250 to 256 GB/s against the profiles' 257.7 cap, and most points lie at 235 to 250. - Prefetch distance 0 with 3 to 9 CTAs per SM does not lose 5%. The median bandwidth over points with 3 or more CTAs per SM is 243.5, 244.8 and 244.5 GB/s for 1, 2 and 3 buffers. Prefetch distance 0 only falls behind where the bytes in flight are small (1 or 2 CTAs per SM with 4 to 8 KiB stages: 165 to 235 against 221 to 249). The
s2deficit of theresident-waveGEMMs is therefore not reproduced by the closed loop. - The access pattern matters as much as the loop. Median over all points: linear 248.5, 256-byte rows 245.1, 128-byte rows 239.1 GB/s. The core has no term for it.
- Pipelined loops at 2 CTAs per SM (8 to 16 KiB) reach 246 to 256 GB/s, at the top of the session, as the fastest
resident-waveGEMMs do.
H4 is not located in the closed loop. What remains between the resident-wave groups (3% to 5%) is the size of the access-pattern effect and of the session drift, and the GEMM's masked 48-row A loads are not in b-stream.
Form c in the core (post-hoc impact)
Form c is implemented in the L2 model at a5c01c6, with the slice count corrected at f48763f (positions, not midpoints). On the synthetic wave-rescan KernelIR the core at f48763f reproduces the frozen forward predictions of form c exactly with both GB10 profiles; reversed points cannot be written as KernelIR, so for them form c exists only as the analytic prediction.
The effects below are reported only, on data that were opened before the change. Nothing is tuned on them. Core f48763f (formal build) against v0.2-final, frozen v0.2 profiles, nominal profile, archived KernelIR. Drivers: scripts/posthoc_l2_form_c_impact.py and scripts/posthoc_l2_form_c_dev.py; outputs in form-c/.
Opened v0.2 holdout (v02-holdout-impact.json):
| Cohort | Median Kendall tau-b, warm / cold | Mean top-5 regret, warm / cold |
|---|---|---|
| GB10 GEMM | 0.683 to 0.719 / 0.689 to 0.651 | 2.12% to 1.14% / 2.00% to 1.34% |
| GB10 attention | 0.670 to 0.652 / 0.703 to 0.681 | 0.82% to 0.82% / 0.33% to 0.33% |
| RTX 4070 GEMM | 0.748 to 0.802 / 0.693 to 0.698 | 0.82% to 0.63% / 0.73% to 0.61% |
| RTX 4070 attention | unchanged (0.710 / 0.711) | unchanged (1.30% / 1.43%) |
- Gains:
prefill-896(GB10, regret 5.27% and 1.89% to 0, fastest config rank 6 to 1),prefill-1792(GB10, tau 0.68 to 0.78),mask-mnk-1153(GB10, regret 3.57% and 4.03% to 0),prefill-1536(RTX 4070, regret 5.29% and 5.66% to 3.58% and 4.58%). - Losses:
mask-mnk-641(GB10, tau 0.811 and 0.850 to 0.719 and 0.651; it sets the GB10 GEMM cold median),mask-mnk-769(RTX 4070, tau 0.657 and 0.639 to 0.575 and 0.570), and the GB10 attention caseb1-q36-kv6-s2816-d128-full(tau 0.71 to 0.67, the only attention case that changes). Themask-mnkconfigs load 2 bytes at a time (v0.2-posthoc item 8, H5), whichwave-rescandoes not cover. - The
resident-wavecases (one wave) barely move, as expected.
RTX 4070 development sets (rtx4070-development-impact.json): no prediction changes by more than 0.2%, and every score is unchanged (GEMM: KernelIR of the M2 development AOT; attention: KernelIR regenerated with the v0.2 frontend call; labels are the medians over all published development sessions and blocks).
GB10 Phase 2 development cohorts (gb10-phase2-prediction-changes.json): their labels are only in sealed reports, which are not read, so only prediction changes are reported. The secondary cohort changes strongly (prefill-2048 up to 140%, prefill-1024 all 72 configs and caches, mask-mnk 60 of 72), the primary cohort only in mask-m and swizzle-320.
RTX 4070, unvalidated (before, after): on the same synthetic wave-rescan points built for the RTX 4070 profile, the old core predicts 0.52 to 0.98 of a re-reading wave hitting above 1.1 times L2 and the new core 0, like form c. b-stream and staged-mma predictions do not change. Until wave-rescan is captured on the RTX 4070, the form is unvalidated there.
RTX 4070 capture, attempt 1 (not used)
Captured on the local RTX 4070 at 5639c55 (binary built with nvcc 13.5 for sm_89), 2026-11-26 22:22 to 22:31 UTC, against the frozen RTX 4070 predictions (rtx4070-synthetic-predictions-after.json, SHA-256 d55e98c8...). The GPU lock was held, the thermal gate passed (SM 2850 to 2865 MHz, memory 10251 MHz, P2, no throttle reason), and no other compute process ran, but the Windows desktop shared the GPU: browsers, chat clients and the Steam client, at 15% to 25% utilization and 5.5 GiB before the run (captures-rtx4070-attempt1/, with the Windows nvidia-smi before and after).
The timings are bimodal: in 74 of 108 wave-rescan points and 22 of 40 staged-mma points the samples of one launch shape spread by more than 1.3 times (for example one wave alternating between 164 and 352 us), with clocks unchanged. Medians of such samples give re-read hit fractions from -1.19 to 1.01, so this attempt cannot validate or reject anything, and the RTX 4070 stays unvalidated. For the record only: over all points the reversed re-reads follow form c (mean absolute error 0.061, median 0.029) and not form b (0.407), as on GB10, and staged-mma has a MAPE of 5.2%. A second attempt needs a window without desktop GPU use.
Dispersion check on the GB10 captures (added after capture)
The capture gate added at 73f7079 voids a capture when more than 10% of its sample lists spread by more than 1.3 times (max over min). Applied afterwards to the GB10 captures above: b-stream passes (4.3%) and staged-mma passes (2.5%), but wave-rescan fails (16.2%). Its spread is a tail, not two modes: in most flagged lists 12 to 14 of 15 samples agree within a few percent and one to three are slower, in launches of 50 to 300 us.
A replication with the gate (captures-gb10-wave-rescan-replication/, 2026-11-26 22:33 UTC, same binary and frozen predictions) also fails (14.0%). Its scores, for the record: form a 0.468 forward; form b 0.142 forward and 0.372 reversed; form c 0.179 forward and 0.039 reversed. Point by point the two runs' hit fractions differ by 0.023 at the median and 0.507 at most. Under the gate neither wave-rescan run counts; how to capture short launches so that they pass is open.
Status under the adopted capture rules (2026-11-27)
The single max-over-min gate above was replaced the same day by three rules fixed in advance after an independent audit, applied to timing and bandwidth sample lists only: (1) at most 5% of lists may have an interquartile range above 10% of their median; (2) at most 15% may have a max over min above 1.5; (3) across runs of one geometry, at most 5% of points may have per-run medians spanning more than 10% of their median. They are implemented and tested in microbench/capture_posthoc.py (check subcommand).
| Capture | Rule 1 | Rule 2 | Rule 3 | Status |
|---|---|---|---|---|
GB10 wave-rescan, run 1 and replication | 4.1%, 3.2% | 8.1%, 7.7% | 10.4% of 222 lists | void (rule 3) |
GB10 b-stream | 2.5% | 0.7% | single run | passes |
GB10 staged-mma | 0% | 0% | single run | passes |
RTX 4070 attempt 1, wave-rescan | 1.4% | 41.9% | single run | void (rule 2) |
RTX 4070 attempt 1, staged-mma | 12.5% | 32.5% | single run | void (rules 1 and 2) |
So the wave-rescan results above, and the form c conclusions drawn from them, are provisional until a capture that passes all three rules: the version with launches of at least 1 ms (wave-rescan-long), captured twice against re-frozen predictions. staged-mma (H3 as stated rejected) and b-stream (H4 not in the closed loop) stand.
wave-rescan-long (v2), frozen predictions
Frozen before any capture: predictions-v0.2-final-core.json (form a, the v0.2-final core) and predictions-current-core.json (the current core, which equals the analytic form c on every forward point, and the analytic forms b and c), both on GB10 profile 0.22.0-posthoc. All are steady-state hit fractions of a re-reading wave: forward, every wave walks K up and starts on what LRU kept from the last one, as the second wave of wave-rescan did; reversed, the walk alternates every wave, so each wave starts on the slices the previous one touched last. The forms' values are those frozen for wave-rescan. The capture runs wave-rescan-long with --l2-gbps 2276.489 (that profile's l2_bw_read_gbps), twice; both runs must pass the three capture rules, and the forms are scored by the mean absolute error of the hit fraction, as before.
wave-rescan-long capture: void under rule 3
Two runs on Spark 1 at c5e1b68 (binary built from it), 2026-11-26 22:54 and 22:57 UTC, GPU lock held, thermal gate passed, 15 samples per point, every timed launch of about 1 ms or more after an untimed flush (captures/). Each run passes rules 1 and 2 on its own (core: 3.2% and 1.6% of 438 lists; spikes: 0% and 0.2%). Between the runs, 43 of 438 lists (9.8%) have medians more than 10% apart, above the 5% allowed by rule 3, so the capture is void.
The disagreements sit where the steady state is near capacity: 27 of the 43 lists are at 0.88 to 1.1 times L2, where a wave's re-read time differs by up to a factor of two between runs (for example 0.91 times L2, one CTA per SM, forward: 3528 us against 1701 us for 100 waves); the rest are partial-hit reversed points at 1.25 to 2 times L2 that differ by 10% to 21%. The no-reuse reference reads per byte within 2% of the forward points at 1.5 to 3 times L2 in 17 of 18 comparisons.
For the record only (the capture does not count): mean absolute error of the hit fraction in runs 1 and 2, form a forward 0.457 and 0.449; form b forward 0.127 and 0.101, reversed 0.337 and 0.330; form c forward 0.167 and 0.134, reversed 0.063 and 0.045. At 1.25 to 3 times L2: form a 0.664 and 0.661 forward, form b 0.509 reversed in both, form c 0.104 and 0.103 forward, 0.095 and 0.065 reversed. The direction is the same as in both wave-rescan captures. Form c stays provisional.
Registration: qualifying forward capture (wave-rescan-v3)
Registered before any capture of this mode, for review; it uses only microbenchmarks.
- Question. Does a forward re-read of a wave larger than the effective L2 capacity hit? This is the part of the cross-wave change that real kernels use.
- Kernel.
wave-rescan-longwith the forward walk and its forward no-reuse reference only, footprints 0.5, 0.75, 1.25, 1.5, 2 and 3 times L2, at 1, 2 and 4 CTAs per SM and 1 or 2 rows per wave. The band from 0.85 to 1.15 times L2 is excluded because thewave-rescan-longcapture showed its steady state flipping between runs; this exclusion is a protocol choice for this new capture only and is not applied to any earlier data. Launch shapes, wave counts, flushes and samples are those ofwave-rescan-long,--l2-gbps 2276.489. - Predictions. The frozen
wave-rescan-longfiles (v0.2-final core, current core) already hold every point of this grid; nothing is recomputed. Two candidates: a, thev0.2-finalper-chunk clock; and no hit above capacity, which forms b and c both predict for forward walks (c: 0; b: 0.01 or less). - Runs and rules. At least three runs, each a separate process under the GPU lock and the thermal gate. The capture qualifies only if every run passes rules 1 and 2 and the runs together pass rule 3, all on this grid.
- Decision. Over the 24 points at 1.25 to 3 times L2, the measured hit fraction of each run (between the no-reuse reference and the 0.5 times L2 point, as in
wave-rescan-long) is compared with each candidate by mean absolute error. A candidate is supported if its error is the lower one in every run; if the runs disagree, the result is inconclusive. If the capture does not qualify, the run-to-run instability is reported as the result and the cross-wave change rests on consistent but unqualified evidence.
wave-rescan-v3 capture: does not qualify (rule 3)
Three runs at a67a733 on Spark 1, 2026-11-26 23:14, 23:22 and 23:29 UTC, GPU lock held, thermal gate passed (wave-rescan-v3/). Runs 1 and 2 have no host CPU trace; run 3 has one (host_trace.py, the sidecar used until the shared gate lands), and it passes (busy share at most 7.4%, no other process above 5% for two samples). Each run passes rules 1 and 2 (core 0%, 0%, 1.3%; spikes 0%, 0%, 1.3% of 150 lists). Across the three runs, 22 of 150 lists (14.7%) have medians spanning more than 10%, above the 5% allowed by rule 3, so the capture does not qualify.
The disagreements are again a bistable steady state, now seen also at 0.75 and 1.25 times L2, outside the excluded band: at 1.25 times L2, run 1 re-reads 25% faster than runs 2 and 3 at every occupancy (measured hit 0.31 to 0.40 against 0.01 to 0.09), and at 0.75 times L2 run 3 re-reads 16% to 110% slower than runs 1 and 2. The points at 0.5, 1.5, 2 and 3 times L2 agree across runs.
For the record (the capture does not count), the registered decision quantity over the 24 points at 1.25 to 3 times L2, by run: candidate a 0.664, 0.744, 0.739; no hit above capacity 0.098, 0.017, 0.023. The second candidate has the lower error in every run, by a wide margin, and at 1.5 to 3 times L2 every measured hit fraction is between -0.01 and 0.09. As registered, the result is the instability: forward re-reads at 1.5 times L2 and more do not hit, consistently across all seven runs of three versions, while from about 0.75 to 1.25 times L2 the GB10 steady state differs from run to run. The cross-wave change rests on consistent but unqualified evidence.
Decision on the cross-wave change
wave-rescan-v3 is judged as registered: the capture does not qualify, and the run-to-run instability is the result. The change stays in the core, for these reasons:
- In all seven runs of
wave-rescan,wave-rescan-longandwave-rescan-v3, forward re-reads at 1.5 times L2 or more hit -0.01 to 0.09, while the earlier per-chunk clock predicts 0.5 to 0.9 and is wrong in every run. This part is stable across runs; reverting would bring back the form that is further off in all of them. - No capture passes rule 3 because the GB10 steady state is bistable from about 0.75 to 1.25 times L2 (each run internally consistent, the host quiet in the traced run). That is hardware behavior, not noise that more captures remove (observation).
- The change therefore rests on GB10 microbenchmarks that agree in direction but do not pass the capture rules: stable support at 1.5 times L2 or more, a step against bistable hardware from about 0.75 to 1.25 times L2 (known limit), unvalidated on the RTX 4070. Whether it counts is decided by the sealed v0.3 holdout, not by these microbenchmarks.
Stable part, post-hoc. Restricted after the fact to points at 1.5 times L2 or more (not a registered decision; stable-subset-rules-posthoc.json): forward points pass all three rules in every version (rule 3: 0% in wave-rescan, 1.4% in wave-rescan-long, 0% in wave-rescan-v3; rules 1 and 2 at most 0% and 1.4% per run). With the reversed partial-hit points of wave-rescan-long included, rule 3 is 5.6% and fails.
wave-rescan is closed; no fourth version is planned. A dedicated experiment on the bistable band and the reversed-walk detail are listed for after v0.3.