From f5d1af61d79fb53ccfbac2e665e43208c07b083d Mon Sep 17 00:00:00 2001 From: Iwan Kawrakow Date: Fri, 9 Aug 2024 17:29:32 +0300 Subject: Fix Makefile I always use cmake, so had forgotten to pay attention to the Makefile. --- ggml/src/iqk/iqk_quantize.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'ggml/src') diff --git a/ggml/src/iqk/iqk_quantize.cpp b/ggml/src/iqk/iqk_quantize.cpp index e43ed999..730de8c9 100644 --- a/ggml/src/iqk/iqk_quantize.cpp +++ b/ggml/src/iqk/iqk_quantize.cpp @@ -42,9 +42,13 @@ struct IQ1BNQuantizer { } return max_in_row; } - static constexpr uint8_t k_mult[5] = {81, 27, 9, 3, 1}; + // The Makefile has issues dwaling with this? + //static constexpr uint8_t k_mult[5] = {81, 27, 9, 3, 1}; + static const uint8_t k_mult[5]; }; +const uint8_t IQ1BNQuantizer::k_mult[5] = {81, 27, 9, 3, 1}; + void IQ1BNQuantizer::quantize_one_row_1bn(const float * src, block_iq1_bn * y, int n_per_row, const float * imatrix) { static const int k_nb[6] = {1, 3, 9, 27, 81, 243}; -- cgit v1.2.3