aboutsummarylogtreecommitdiffstats
path: root/fix-const-correctness.patch
blob: b0c945992e8bdf6620d07122d1b5edb16255c08b (plain)
1
2
3
4
5
6
7
8
9
10
11
--- src/ggml-bitnet-mad.cpp
+++ src/ggml-bitnet-mad.cpp
@@ -808,7 +808,7 @@
             accu[iy] = _mm256_setzero_si256();
         }
 
-        int8_t * y_col = y + col * by;
+        const int8_t * y_col = y + col * by;
         
         for (int i = 0; i < group32_num; i++) {
             const uint8_t *px = x + i * 1024;