From fea84c3cf5698ee6d65c9160b214bec494249c60 Mon Sep 17 00:00:00 2001 From: Concedo <39025047+LostRuins@users.noreply.github.com> Date: Sun, 21 May 2023 22:41:33 +0800 Subject: [PATCH] fix for stupid msvc compiler --- otherarch/ggml_v2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/otherarch/ggml_v2.c b/otherarch/ggml_v2.c index 7c0439af9..ddb6f7ae3 100644 --- a/otherarch/ggml_v2.c +++ b/otherarch/ggml_v2.c @@ -17176,11 +17176,11 @@ static void ggml_v2_vec_dot_q5_0_q8_0_v2(const int n, float * restrict s, const static void ggml_v2_vec_dot_q5_1_q8_1_v2(const int n, float * restrict s, const void * restrict vx, const void * restrict vy); static void ggml_v2_vec_dot_q8_0_q8_0_v2(const int n, float * restrict s, const void * restrict vx, const void * restrict vy); -inline void SetQuantsUnshuffled(bool unshuffle) +void SetQuantsUnshuffled(bool unshuffle) { quants_unshuffled = unshuffle; } -inline bool GetQuantsUnshuffled() +bool GetQuantsUnshuffled() { return quants_unshuffled; }