From 448e4a94b868dbbf114b1bc23634dbde2e061a79 Mon Sep 17 00:00:00 2001 From: Srihari-mcw Date: Mon, 23 Sep 2024 05:38:51 -0700 Subject: [PATCH] Update x to start from 0 --- ggml/src/ggml-aarch64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ggml/src/ggml-aarch64.c b/ggml/src/ggml-aarch64.c index 266851f6c..2b01b4f93 100644 --- a/ggml/src/ggml-aarch64.c +++ b/ggml/src/ggml-aarch64.c @@ -2510,7 +2510,7 @@ void ggml_gemm_q4_0_8x8_q8_0(int n, float * restrict s, size_t bs, const void * } // Take group of two block_q4_0x8 structures at each pass of the loop and perform dot product operation - for (int64_t x = xstart; x < anc / 8; x += 2) { + for (int64_t x = 0; x < anc / 8; x += 2) { const block_q4_0x8 * b_ptr_0 = b_ptr_start + ((x) * b_nb); const block_q4_0x8 * b_ptr_1 = b_ptr_start + ((x + 1) * b_nb);