Commit 6f489ec
committed
plans: gemm consolidation v1.1 — Mississippi Queen amendment + Wave 0 static results
Two additions to the DRAFT, no code.
§9 folds in the operator's Mississippi Queen metaphor, graded mechanism vs
rhyme. The load-bearing one CORRECTS the plan: v1's D-GTM-F4 built the
compacted row-index list "once per mask generation" — laying the whole
river before any boat moves. `pack_a_f32` already walks a panel cursor, so
the mask->index expansion belongs one panel AHEAD of that cursor, on the
stack, not in an O(n_rows) prologue (which also quietly violated
data-flow.md §1's no-alloc-in-hot-loop rule). M1b names where the cache
lives: keyed by (mask generation, panel index), never by call — a per-call
cache amortizes nothing. M2 turns D-GTM-0e into a lookahead ladder; M3
replaces the T2->T1 prohibition with a coal budget. The hexagon itself is
marked rhyme [S]: the game's six is adjacency, the substrate's six is field
carving.
§10 runs the three measurement-free W0 probes. Each corrected §1.1:
- 0a: both "duplicates" divergent, only one a defect. The bf16 pair is
polyfill vs dispatcher and the facade already renames one `_amx`;
`simd_avx2.rs:462 sgemm_blocked` is a naive scalar triple loop whose
file, name and body disagree three ways.
- 0b: blas_level3.rs is not empty — a six-method BlasLevel3<A> trait
dispatching to BlasFloat::backend_gemm. A `pub fn` grep cannot see a
method. This re-frames D-GTM-F3: two facades already exist, and
BlasFloat's Float bound structurally excludes i8/bf16 from the generic
one, so W1's first question is which is canonical.
- 0f: pruned_gemm_rows and mixed_precision_gemm have zero callers
anywhere. §2.3 called the former "the ONLY existing mask->GEMM bridge";
it is dead code, so D-GTM-5 is a first writer, not a migration.
Also records a consumer-side iron-rule violation found incidentally: the
five external bf16_tile_gemm_16x16 references resolve to two different
bodies, one of them via `ndarray::hpc::*` past the facade. Both call sites
are lance-graph's; reported, not fixed.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EfrUJH3UNnv5NpDH4jDGHq1 parent fe1154b commit 6f489ec
2 files changed
Lines changed: 270 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
6 | 62 | | |
7 | 63 | | |
8 | 64 | | |
| |||
0 commit comments