mirror of
				https://github.com/ggml-org/llama.cpp.git
				synced 2025-10-30 08:42:00 +00:00 
			
		
		
		
	ggml : define missing HWCAP flags (#9684)
ggml-ci Co-authored-by: Willy Tarreau <w@1wt.eu>
This commit is contained in:
		| @@ -3687,6 +3687,10 @@ static inline int ggml_up(int n, int m) { | |||||||
| #include <sys/sysctl.h> | #include <sys/sysctl.h> | ||||||
| #endif | #endif | ||||||
|  |  | ||||||
|  | #if !defined(HWCAP2_I8MM) | ||||||
|  | #define HWCAP2_I8MM 0 | ||||||
|  | #endif | ||||||
|  |  | ||||||
| static void ggml_init_arm_arch_features(void) { | static void ggml_init_arm_arch_features(void) { | ||||||
| #if defined(__linux__) && defined(__aarch64__) | #if defined(__linux__) && defined(__aarch64__) | ||||||
|     uint32_t hwcap = getauxval(AT_HWCAP); |     uint32_t hwcap = getauxval(AT_HWCAP); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Georgi Gerganov
					Georgi Gerganov