]> git.djapps.eu Git - pkg/ggml/sources/ggml/commitdiff
ggml : define missing HWCAP flags (llama/9684)
authorGeorgi Gerganov <redacted>
Sun, 29 Sep 2024 18:18:23 +0000 (21:18 +0300)
committerGeorgi Gerganov <redacted>
Sun, 29 Sep 2024 18:19:12 +0000 (21:19 +0300)
ggml-ci

Co-authored-by: Willy Tarreau <redacted>
src/ggml.c

index fac4466e31d44635c35cc7721b2adf625303056f..81b651c6a438de5ac708b7a5299b30e52eca6fe0 100644 (file)
@@ -3687,6 +3687,10 @@ static inline int ggml_up(int n, int m) {
 #include <sys/sysctl.h>
 #endif
 
+#if !defined(HWCAP2_I8MM)
+#define HWCAP2_I8MM 0
+#endif
+
 static void ggml_init_arm_arch_features(void) {
 #if defined(__linux__) && defined(__aarch64__)
     uint32_t hwcap = getauxval(AT_HWCAP);