metal : fix mul_mv destination offset overflow (#32221)

This commit is contained in:
Aman Chadha(IVIXMMI) authored and GitHub committed 2026-11-14 07:49:32 +08:00
1 parent ded522f830
commit 9183a552e5
1 file changed
+1 -1
+1 -1
View File
@@ -290,7 +290,7 @@ void mul_vec_q_n_f32_impl(
//yb += NSG*NQ*QK4_0;
}
device float * dst_f32 = (device float *) dst + im*args.ne0*args.ne1 + r1*args.ne0;
device float * dst_f32 = (device float *) dst + (uint64_t)im*args.ne0*args.ne1 + (uint64_t)r1*args.ne0;
//helper_mv_reduce_and_write<NR0>(dst_f32, sumf, r0, args.ne01, tiisg, sgitg, shmem);