ggml : fix UNUSED macro (#3762)

This commit is contained in:
Georgi Gerganov 2023-11-01 13:50:45 +02:00
parent 73bdcb395e
commit 9a3b4f6c86
No known key found for this signature in database
GPG key ID: 449E073F9DC10735

View file

@ -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