From: Georgi Gerganov Date: Sun, 29 Sep 2024 18:18:23 +0000 (+0300) Subject: ggml : define missing HWCAP flags (llama/9684) X-Git-Tag: upstream/0.0.1642~328 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=0b8cca750495b46e986da8d80b96446d3c654f1c;p=pkg%2Fggml%2Fsources%2Fggml ggml : define missing HWCAP flags (llama/9684) ggml-ci Co-authored-by: Willy Tarreau --- diff --git a/src/ggml.c b/src/ggml.c index fac4466e..81b651c6 100644 --- a/src/ggml.c +++ b/src/ggml.c @@ -3687,6 +3687,10 @@ static inline int ggml_up(int n, int m) { #include #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);