Skip to content

Commit

Permalink
ggml : fix UNUSED macro (ggerganov#3762)
Browse files Browse the repository at this point in the history
  • Loading branch information
ggerganov authored and olexiyb committed Nov 23, 2023
1 parent a0c902a commit 5739256
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ggml-quants.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 5739256

Please sign in to comment.