Archived
At M = 1 a GEMV is N / 2 sub-groups: for down_proj (N=2048, K=6144) that is a tenth of the card's threads, each walking K alone. With K >= 4096 the work-group's sub-groups now take two halves of K for the same columns and add the halves in order through local memory (deterministic, one kernel). Per shape, cold: 59.7 -> 52.2 us; 4-16 ways no better, and splitting the K=2048 shapes slowed them, so they keep one. rad-kbench 361/361 and 350/350; KL mean 6.0e-4; greedy against libref 7/8 (the eighth a near-tie). Decode 57.3 tok/s at a short context, 51.4 after a 1797-token prompt. SYCL_PROGRESS records the per-shape times, the variants dropped, and what was taken from reading GRIMOIRE (ideas only: it is GPL-3.0). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018EpFgqQidSnH8zo7boVZC1