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/1.7.4~359 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=6c91da80b8088b005ab23d1e7d6d97d991b22907;p=pkg%2Fggml%2Fsources%2Fwhisper.cpp ggml : define missing HWCAP flags (llama/9684) ggml-ci Co-authored-by: Willy Tarreau --- diff --git a/ggml/src/ggml.c b/ggml/src/ggml.c index fac4466e..81b651c6 100644 --- a/ggml/src/ggml.c +++ b/ggml/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);