summaryrefslogtreecommitdiff
path: root/ggml-quants.c
diff options
context:
space:
mode:
authorGeorgi Gerganov <ggerganov@gmail.com>2024-02-11 15:33:01 +0200
committerGeorgi Gerganov <ggerganov@gmail.com>2024-02-11 15:33:01 +0200
commit0f2411f154db46780d3aaa3a0664691b2170c83f (patch)
treeae3ebf85d9226ac7ae71aec8d83ae1a010209f97 /ggml-quants.c
parenta07d0fee1f05c5c1dc49948ae1a3293db017275f (diff)
ggml : fix compile warnings (unused vars) (#4966)
Diffstat (limited to 'ggml-quants.c')
-rw-r--r--ggml-quants.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/ggml-quants.c b/ggml-quants.c
index 6c122dd2..b2a309bf 100644
--- a/ggml-quants.c
+++ b/ggml-quants.c
@@ -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;
@@ -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;
@@ -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;