metal : fix mat-vec Q4_K kernel for QK_K == 64

This commit is contained in:
Georgi Gerganov 2023-12-31 13:52:34 +02:00
parent a8b9bb4566
commit 5865b18eeb
No known key found for this signature in database
GPG key ID: 449E073F9DC10735

View file

@ -3028,7 +3028,7 @@ void kernel_mul_mv_q4_K_f32_impl(
const int r0 = tgpig.x;
const int r1 = tgpig.y;
const int im = tgpig.z;
const int first_row = (r0 * N_SIMDGROUP + sgitg) * N_DST;
const int first_row = r0 * N_DST;
const int ib_row = first_row * nb;
const uint i12 = im%ne12;