Skip to content

Commit 9a3b4f6

Browse files
committed
ggml : fix UNUSED macro (ggml-org#3762)
1 parent 73bdcb3 commit 9a3b4f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ggml-quants.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -716,7 +716,7 @@ void quantize_row_q8_0(const float * restrict x, void * restrict vy, int k) {
716716
__riscv_vse8_v_i8m1(y[i].qs , vs, vl);
717717
}
718718
#else
719-
UNUSED(nb);
719+
GGML_UNUSED(nb);
720720
// scalar
721721
quantize_row_q8_0_reference(x, y, k);
722722
#endif
@@ -970,7 +970,7 @@ void quantize_row_q8_1(const float * restrict x, void * restrict vy, int k) {
970970
y[i].s = sum*d;
971971
}
972972
#else
973-
UNUSED(nb);
973+
GGML_UNUSED(nb);
974974
// scalar
975975
quantize_row_q8_1_reference(x, y, k);
976976
#endif

0 commit comments

Comments
 (0)