summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgi Gerganov <ggerganov@gmail.com>2023-11-01 13:50:45 +0200
committerGeorgi Gerganov <ggerganov@gmail.com>2023-11-01 13:50:45 +0200
commit9a3b4f6c86503c9cfc049d4d0fdeafef12806f5e (patch)
tree82b12fc0cc16937c7ed5d93a1f30a474eddb4585
parent73bdcb395ef9a997d9c02950c7cd4249546162cd (diff)
ggml : fix UNUSED macro (#3762)
-rw-r--r--ggml-quants.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ggml-quants.c b/ggml-quants.c
index 255c89b6..740be6dc 100644
--- a/ggml-quants.c
+++ b/ggml-quants.c
@@ -716,7 +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);
+ GGML_UNUSED(nb);
// scalar
quantize_row_q8_0_reference(x, y, k);
#endif
@@ -970,7 +970,7 @@ void quantize_row_q8_1(const float * restrict x, void * restrict vy, int k) {
y[i].s = sum*d;
}
#else
- UNUSED(nb);
+ GGML_UNUSED(nb);
// scalar
quantize_row_q8_1_reference(x, y, k);
#endif