Skip to content

Commit c919d5d

Browse files
ggerganovwtarreau
andauthored
ggml : define missing HWCAP flags (ggml-org#9684)
ggml-ci Co-authored-by: Willy Tarreau <[email protected]>
1 parent d0b1d66 commit c919d5d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ggml/src/ggml.c

+4
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)