diff options
author | Iwan Kawrakow <iwan.kawrakow@gmail.com> | 2024-08-09 17:29:32 +0300 |
---|---|---|
committer | Kawrakow <48489457+ikawrakow@users.noreply.github.com> | 2024-08-09 16:31:04 +0200 |
commit | f5d1af61d79fb53ccfbac2e665e43208c07b083d (patch) | |
tree | 1929f5b878ba6d6a1132f1054984a14144436bba /ggml/src | |
parent | f0d7a0d53b0ecdd43ba85bcd49309b291372ca67 (diff) |
Fix Makefile
I always use cmake, so had forgotten to pay attention to the
Makefile.
Diffstat (limited to 'ggml/src')
-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}; |