diff options
Diffstat (limited to 'ggml/src/iqk/iqk_quantize.cpp')
-rw-r--r-- | ggml/src/iqk/iqk_quantize.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
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}; |