Archived
The register kernel read every element through the dtype-switching accessors, so a row's 128 state loads did not issue together, and a lane stored its own row 512 bytes from its neighbours. It is now templated on the staged q/k/v type and, for an f32 state with contiguous rows, moves a work-group's 16 rows through local memory in coalesced lines. The anchor replay's decays are taken one token a lane. At the speculative verify (8 tokens): the 8-token pass 408 -> 101 us, the replay 222 -> 110 us; 48 calls a round, 32.7 -> ~13 ms. Bit-identical to libref (fixture 90/90 at rel_l2 0, 400/400 live oracle issues). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018EpFgqQidSnH8zo7boVZC1