Skip to content

Commit 97b7f5d

Browse files
ggerganovwtarreau
authored andcommitted
ggml : define missing HWCAP flags (ggml-org#9684)
ggml-ci Co-authored-by: Willy Tarreau <[email protected]>
1 parent 84a605b commit 97b7f5d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ggml/src/ggml.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3687,6 +3687,10 @@ static inline int ggml_up(int n, int m) {
36873687
#include <sys/sysctl.h>
36883688
#endif
36893689

3690+
#if !defined(HWCAP2_I8MM)
3691+
#define HWCAP2_I8MM 0
3692+
#endif
3693+
36903694
static void ggml_init_arm_arch_features(void) {
36913695
#if defined(__linux__) && defined(__aarch64__)
36923696
uint32_t hwcap = getauxval(AT_HWCAP);

0 commit comments

Comments
 (0)