]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
ggml : fix UNUSED macro (#3762)
authorGeorgi Gerganov <redacted>
Wed, 1 Nov 2023 11:50:45 +0000 (13:50 +0200)
committerGeorgi Gerganov <redacted>
Wed, 1 Nov 2023 11:50:45 +0000 (13:50 +0200)
ggml-quants.c

index 255c89b6a7ab84a2523729e720ada7074e3e8c7c..740be6dc5c79811f29de00bb335244939da54fb3 100644 (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