Archived
libref serves gemm_nt_q at dtype m2xfp4 against the E4M3 activation and its per-128 scales, from ref_m2xfp4.cpp: libref keeps one row an op, so the gemm_nt_q row takes its launch, shape and layout hooks from there, each answering m2xfp4 and passing every other dtype to the hook it had. The layout joins the codes and meta planes into one U8 operand (codes rows, then meta rows) and the GEMM decodes it element by element. libavx refuses the encoding, so the host backend falls through to libref. The core's selection reader hands out the same codes+meta form for an m2xfp4 encoding, so the oracle and fixtures can build the operand. quant_m2xfp_test runs the row over the quantiser's planes; OPS.md gains the operand. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>