ggml : define missing HWCAP flags
ggml-ci
This commit is contained in:
parent
589b48d41e
commit
922bf99a7e
1 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue