]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commitdiff
ggml : add fallback definition for HWCAP2_SVE2 (llama/17683)
authorAdrien Gallouët <redacted>
Tue, 2 Dec 2025 08:41:26 +0000 (09:41 +0100)
committerGeorgi Gerganov <redacted>
Fri, 12 Dec 2025 15:53:15 +0000 (17:53 +0200)
This align with other HWCAP2 feature flags

See #17528

Signed-off-by: Adrien Gallouët <redacted>
ggml/src/ggml-cpu/arch/arm/cpu-feats.cpp

index 67369147ce851d03530c36e06b08e215e96cf380..c460c5491143f5b7091ab55dfbf98a1015e92a7a 100644 (file)
@@ -8,6 +8,10 @@
 #include <sys/sysctl.h>
 #endif
 
+#if !defined(HWCAP2_SVE2)
+#define HWCAP2_SVE2 (1 << 1)
+#endif
+
 #if !defined(HWCAP2_I8MM)
 #define HWCAP2_I8MM (1 << 13)
 #endif