From 137321915f572061bddd37452c9e4f6091553dce Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Wed, 2 Nov 2022 17:52:24 +0200 Subject: [PATCH] ggml : fix the check for NEON support (#7) Was using the wrong preprocessor macro --- ggml.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ggml.c b/ggml.c index 79f1c30..a451a3e 100644 --- a/ggml.c +++ b/ggml.c @@ -8089,7 +8089,7 @@ int ggml_cpu_has_avx512(void) { } int ggml_cpu_has_neon(void) { -#if defined(__ARM_NEON__) +#if defined(__ARM_NEON) return 1; #else return 0;