mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-06 16:29:04 +00:00
A float-activation row dot with the arithmetic of sy::row_dot (same lane ownership, same fma chain: bit for bit the same results, checked by ling32_moe_sy_test against the CPU model) and 16-bit loads of exactly the words a lane needs, the activations as float4. STRATA_L32_MOE_DEC = 0 generic row dot, 1 (default) / 2 / 4 weight rows per warp; more than one row or superblock in flight spills registers of a SIMD32 work-item (A750: 2 rows 15% slower, 4 rows 50% slower, 4 superblocks 3.5x slower). A750 (Alchemist AOT), real shape, 8 pairs from 8 distinct S5 experts: gate/up 0.196 -> 0.148 ms (104 -> 138 GB/s), down 0.115 -> 0.093 ms; 32 pairs gate/up 0.558 -> 0.436 ms. ling32_moe_sy_test: L32MOE_BENCH=decode times the decode path.