Suppress some warnings in ggml.c

This commit is contained in:
Andrew Godfrey 2023-10-23 13:01:31 -07:00
parent 1758d0abef
commit 9ea91ceaf2

2
ggml.c
View file

@ -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); __riscv_vse8_v_i8m1(y[i].qs , vs, vl);
} }
#else #else
UNUSED(nb);
// scalar // scalar
quantize_row_q8_0_reference(x, y, k); quantize_row_q8_0_reference(x, y, k);
#endif #endif
@ -1529,6 +1530,7 @@ static void quantize_row_q8_1(const float * restrict x, void * restrict vy, int
y[i].s = sum*d; y[i].s = sum*d;
} }
#else #else
UNUSED(nb);
// scalar // scalar
quantize_row_q8_1_reference(x, y, k); quantize_row_q8_1_reference(x, y, k);
#endif #endif