Skip to content

Commit

Permalink
ggml : define missing HWCAP flags (ggerganov#9684)
Browse files Browse the repository at this point in the history
ggml-ci

Co-authored-by: Willy Tarreau <[email protected]>
  • Loading branch information
ggerganov and wtarreau authored Sep 29, 2024
1 parent d0b1d66 commit c919d5d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ggml/src/ggml.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit c919d5d

Please sign in to comment.