From 9ea91ceaf2b3c5cb4f6d790c911eb2eaaca5de6e Mon Sep 17 00:00:00 2001 From: Andrew Godfrey Date: Mon, 23 Oct 2023 13:01:31 -0700 Subject: [PATCH] Suppress some warnings in ggml.c --- ggml.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ggml.c b/ggml.c index 17f0ce487..e477f3640 100644 --- a/ggml.c +++ b/ggml.c @@ -1276,6 +1276,7 @@ static void quantize_row_q8_0(const float * restrict x, void * restrict vy, int __riscv_vse8_v_i8m1(y[i].qs , vs, vl); } #else + UNUSED(nb); // scalar quantize_row_q8_0_reference(x, y, k); #endif @@ -1529,6 +1530,7 @@ static void quantize_row_q8_1(const float * restrict x, void * restrict vy, int y[i].s = sum*d; } #else + UNUSED(nb); // scalar quantize_row_q8_1_reference(x, y, k); #endif