summaryrefslogtreecommitdiff
path: root/ggml
diff options
context:
space:
mode:
authorIwan Kawrakow <iwan.kawrakow@gmail.com>2024-08-09 17:29:32 +0300
committerKawrakow <48489457+ikawrakow@users.noreply.github.com>2024-08-09 16:31:04 +0200
commitf5d1af61d79fb53ccfbac2e665e43208c07b083d (patch)
tree1929f5b878ba6d6a1132f1054984a14144436bba /ggml
parentf0d7a0d53b0ecdd43ba85bcd49309b291372ca67 (diff)
Fix Makefile
I always use cmake, so had forgotten to pay attention to the Makefile.
Diffstat (limited to 'ggml')
-rw-r--r--ggml/src/iqk/iqk_quantize.cpp6
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};