From: Georgi Gerganov Date: Wed, 2 Nov 2022 15:52:24 +0000 (+0200) Subject: ggml : fix the check for NEON support (#7) X-Git-Tag: upstream/1.7.4~1859 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=137321915f572061bddd37452c9e4f6091553dce;p=pkg%2Fggml%2Fsources%2Fwhisper.cpp ggml : fix the check for NEON support (#7) Was using the wrong preprocessor macro --- diff --git a/ggml.c b/ggml.c index 79f1c308..a451a3e4 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;