Skip to content

Commit 4b3242b

Browse files
authored
ggml-cpu: fix typo in gemv/gemm iq4_nl_4_4 (#10580)
1 parent 0f77aae commit 4b3242b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ggml/src/ggml-cpu/ggml-cpu-aarch64.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1020,7 +1020,7 @@ void ggml_gemv_iq4_nl_4x4_q8_0(int n, float * restrict s, size_t bs, const void
10201020
float * res_ptr = s;
10211021

10221022
for (int x = 0; x < nc / ncols_interleaved; x++) {
1023-
const block_q4_0x4 * b_ptr = (const block_q4_0x4 *) vx + (x * nb);
1023+
const block_iq4_nlx4 * b_ptr = (const block_iq4_nlx4 *) vx + (x * nb);
10241024

10251025
float32x4_t sumf = vdupq_n_f32(0);
10261026
for (int l = 0; l < nb; l++) {
@@ -3507,7 +3507,7 @@ void ggml_gemm_iq4_nl_4x4_q8_0(int n, float * restrict s, size_t bs, const void
35073507
for (int y = 0; y < nr / 4; y++) {
35083508
const block_q8_0x4 * a_ptr = (const block_q8_0x4 *) vy + (y * nb);
35093509
for (int x = 0; x < nc / ncols_interleaved; x++) {
3510-
const block_q4_0x4 * b_ptr = (const block_q4_0x4 *) vx + (x * nb);
3510+
const block_iq4_nlx4 * b_ptr = (const block_iq4_nlx4 *) vx + (x * nb);
35113511

35123512
float32x4_t sumf[4];
35133513
for (int m = 0; m < 4; m++) {

0 commit comments

Comments
 (0)