Files
Strata/engine
Niko1221 486402e1b2 sycl(windows): packed-B BM=128 dense GEMM; the engine reads the free RAM on Windows (pinned expert mirror, KV streaming rule)
- xmx_dense_gemm.dp.cpp: a second XMX kernel for T >= 128 and K % 32 == 0 (STRATA_DENSE_GEMM_PK=0 turns it off): BM=128 x BN=64, 256
  threads, weights written to SLM in the VNNI-2 packed order and read with joint_matrix layout ext_intel_packed, the same pattern as the
  Inkling B70 BM=128 GEMM. Bit-identical to the first own kernel (first-token logits max |diff| 0) and KL 1.2e-4 against oneMKL (top-1
  the same). Coder IQ1_M, B70, 4K prompt, GPU timeline: first own kernel 4.54 s, this one 3.82 s, oneMKL 2.94 s (GDN projections 826 /
  652 / 229 ms); 32K prompt: 32.3 s / 27.7 s / 19.2 s. Standalone bench (xmx_dense_gemm_bench.cpp): about 31 TFLOP/s on the big shapes
  (BK=32, no large GRF is the best of four variants; all shapes within 1e-5 of a double reference). Only the Windows build (no oneMKL)
  uses it by default; with oneMKL it runs only when STRATA_DENSE_XMX=1. An ESIMD variant (2D block loads, no SLM) is in the file but
  off (STRATA_DENSE_GEMM_ESIMD=1): its numbers were not in when this was committed.
- generate.cpp: the free RAM came from /proc/meminfo only, so on Windows the engine saw 0 bytes: no pinned host mirror of the experts that
  do not fit the card and no RAM test for KV streaming. host_avail_bytes() reads the available physical memory on Windows, and the mirror
  keeps 8 GiB free there (Linux: 4 GiB, unchanged). Coder-class packs are unchanged (everything resident). IQ2_XS on the B70 (4K / 32K
  prompts): prompt 396 -> 927 and 587 -> 880 tok/s with the mirror (9.0 GiB pinned), decode 36.9 -> 37.6 and 41.0 -> 42.4. IQ3_S with the
  old 4 GiB rule (17.8 GiB pinned) ran a 32 GB PC out of RAM; the 8 GiB rule is not yet measured on IQ3_S.
2026-12-03 01:39:19 +01:00
..