]> git.djapps.eu Git - pkg/ggml/sources/ggml/commitdiff
ggml : arm repack fix build (llama/0)
authorGeorgi Gerganov <redacted>
Sat, 13 Dec 2025 20:54:14 +0000 (22:54 +0200)
committerGeorgi Gerganov <redacted>
Sun, 14 Dec 2025 14:40:47 +0000 (16:40 +0200)
src/ggml-cpu/arch/arm/repack.cpp

index fc62f1b86e331f099c4846bf54f9066d6d37b637..fb7f074a8506a4a4d1016f0ac83a309e684d8336 100644 (file)
@@ -24,7 +24,7 @@
 
 #define UNUSED GGML_UNUSED
 
-#if defined(__aarch64__) && defined(__ARM_NEON) && defined(__ARM_FEATURE_MATMUL_INT8)
+#if defined(__aarch64__) && defined(__ARM_NEON) && (defined(__ARM_FEATURE_MATMUL_INT8) || defined(__ARM_FEATURE_DOTPROD))
 static inline void decode_q4_Kx8_scales_mins(const uint8_t * scales_in,
                                              int16x8_t *     out_mins,
                                              int8_t *        out_scales) {