summaryrefslogtreecommitdiff
path: root/ggml-quants.c
diff options
context:
space:
mode:
Diffstat (limited to 'ggml-quants.c')
-rw-r--r--ggml-quants.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ggml-quants.c b/ggml-quants.c
index 72159446..255c89b6 100644
--- a/ggml-quants.c
+++ b/ggml-quants.c
@@ -716,6 +716,7 @@ void quantize_row_q8_0(const float * restrict x, void * restrict vy, int k) {
__riscv_vse8_v_i8m1(y[i].qs , vs, vl);
}
#else
+ UNUSED(nb);
// scalar
quantize_row_q8_0_reference(x, y, k);
#endif
@@ -969,6 +970,7 @@ void quantize_row_q8_1(const float * restrict x, void * restrict vy, int k) {
y[i].s = sum*d;
}
#else
+ UNUSED(nb);
// scalar
quantize_row_q8_1_reference(x, y, k);
#endif