Suppress some warnings in ggml.c
This commit is contained in:
parent
1758d0abef
commit
9ea91ceaf2
1 changed files with 2 additions and 0 deletions
2
ggml.c
2
ggml.c
|
@ -1276,6 +1276,7 @@ static void quantize_row_q8_0(const float * restrict x, void * restrict vy, int
|
|||
__riscv_vse8_v_i8m1(y[i].qs , vs, vl);
|
||||
}
|
||||
#else
|
||||
UNUSED(nb);
|
||||
// scalar
|
||||
quantize_row_q8_0_reference(x, y, k);
|
||||
#endif
|
||||
|
@ -1529,6 +1530,7 @@ static void quantize_row_q8_1(const float * restrict x, void * restrict vy, int
|
|||
y[i].s = sum*d;
|
||||
}
|
||||
#else
|
||||
UNUSED(nb);
|
||||
// scalar
|
||||
quantize_row_q8_1_reference(x, y, k);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue