ggml : define missing HWCAP flags (llama/9684)

ggml-ci

Co-authored-by: Willy Tarreau <w@1wt.eu>
This commit is contained in:
Georgi Gerganov
2024-10-03 12:22:17 +03:00
co-authored by Willy Tarreau
parent c245168ba3
commit 6c91da80b8
+4
View 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);