Skip to content

Commit

Permalink
ggml : fix compile warnings (unused vars) (ggerganov#4966)
Browse files Browse the repository at this point in the history
  • Loading branch information
ggerganov authored and hodlen committed Apr 1, 2024
1 parent 47b8087 commit 23bf51a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions ggml-quants.c
Original file line number Diff line number Diff line change
Expand Up @@ -3689,6 +3689,10 @@ void ggml_vec_dot_q4_0_q8_0(int n, float * restrict s, size_t bs, const void * r
#else
assert(nrc == 1);
#endif
UNUSED(nrc);
UNUSED(bx);
UNUSED(by);
UNUSED(bs);

const block_q4_0 * restrict x = vx;
const block_q8_0 * restrict y = vy;
Expand Down Expand Up @@ -4052,6 +4056,10 @@ void ggml_vec_dot_q4_1_q8_1(int n, float * restrict s, size_t bs, const void * r
#else
assert(nrc == 1);
#endif
UNUSED(nrc);
UNUSED(bx);
UNUSED(by);
UNUSED(bs);

const block_q4_1 * restrict x = vx;
const block_q8_1 * restrict y = vy;
Expand Down Expand Up @@ -4861,6 +4869,10 @@ void ggml_vec_dot_q8_0_q8_0(int n, float * restrict s, size_t bs, const void * r
#else
assert(nrc == 1);
#endif
UNUSED(nrc);
UNUSED(bx);
UNUSED(by);
UNUSED(bs);

const block_q8_0 * restrict x = vx;
const block_q8_0 * restrict y = vy;
Expand Down

0 comments on commit 23bf51a

Please sign in to comment.