llama.cpp
bd9a15f6 - hexagon: optimize fused GLU and rescale W8A8 matmul (#33581)

Commit
17 hours ago
hexagon: optimize fused GLU and rescale W8A8 matmul (#33581) * hexagon : optimize W8A8 signed-m rescale and FP16 GLU epilogue Use hmx_qf32_to_i32_zp128 + xor 0x80 for signed-m rescale, stage 32x64 W8A8 1g/2g GLU tiles in L1D with direct Wqf32->Vhf pack. SW-pipeline 1-vec FP16 GLU strips (2-loop scratch split for GEGLU). * hexagon : move GLU strip scratch to ddr_spad and unify F16 path Stage per-worker GLU strip intermediates in ctx->ddr_spad_base instead of worker stack, unify FP16 HMX and W8A8 ng/chunked GLU paths onto store_strip_fn, and drop obsolete store_quad_f16 helpers. * hexagon: apply f8_e4m3 scale in dequant * hexagon: improve fwht with f8 rescaling * hexagon: update dev guide to clarify register spills optimizations * hexagon: auto-enable FWHT for Q6_K, Q8_0 and F8 types
Parents
Loading