Skip to content

Commit 30d60c7

Browse files
et-backend: Q8_0 matrix-engine GEMM kernel for prefill
Adds a Q8_0 matrix-engine mul_mat kernel with static-reuse dequant across N-tiles and K-splitting, plus fused bias support for MUL_MAT+ADD. Routes N >= 47 to the matrix engine and N <= 47 to vecdot. Registers the new kernel in the KERNELS list, which it was missing from, so the runtime kernel lookup was silently failing and leaving the destination buffer unwritten. Co-authored-by: Rehan Qasim <rehanbhatti0317@gmail.com>
1 parent 7cbd610 commit 30d60c7

4 files changed

Lines changed: 727 additions & 1 deletion

File tree

ggml/src/ggml-et/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ set(KERNELS
3636
mul_mat_id_Q4_0
3737
mul_mat_id_Q8_0
3838
mul_mat_Q8_0
39+
mul_mat_Q8_0_matrix_engine
3940
mul_mat_Q4_0
4041
mul_mat_Q4_0_matrix_engine
4142
mul_mat_f16

0 commit comments

Comments
 (0)