mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-06 08:18:54 +00:00
With q4_lite's G = 8 the trimmed store guard passes only lanes 0-15 (halves differ for Flash-Next's G = 12), and the compiler could sink the whole-wave WMMA into that half-wave branch; the R9700 then stored -nan and every prompt past a few thousand tokens ended in non-finite logits (#879). Pinning s with an empty asm before the store keeps the arithmetic unchanged and makes TRIM 2/1/0 bit-identical; Flash-Next checksums are unchanged. The hip parity test now counts non-finite outputs before comparing: NaN comparisons are false, so the broken kernel used to pass with a bogus FP64 error of 0.