From 85a1c1271e46acbb5d389f9ebe480d2d42674b6a Mon Sep 17 00:00:00 2001 From: luoyu-intel Date: Thu, 18 Jul 2024 10:39:57 +0800 Subject: [PATCH] fix code bug --- ggml/src/ggml-sycl/convert.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ggml/src/ggml-sycl/convert.cpp b/ggml/src/ggml-sycl/convert.cpp index 6d51a2f4e..5e0278e47 100644 --- a/ggml/src/ggml-sycl/convert.cpp +++ b/ggml/src/ggml-sycl/convert.cpp @@ -125,7 +125,7 @@ static void dequantize_row_q4_0_sycl(const void *vx, dst_t *y, const int k, const int warp_id = item_ct1.get_group(2); const int lane_id = item_ct1.get_local_id(2); const int lane_ib = warp_id * WARP_SIZE + lane_id; - if (lane_ib >= k / Q4_0) { + if (lane_ib >= k / QK4_0) { return; }