ggml : fix the check for NEON support (#7)

Was using the wrong preprocessor macro
avx512^2
Georgi Gerganov 2022-11-02 17:52:24 +02:00
parent 24cd12f647
commit 137321915f
No known key found for this signature in database
GPG Key ID: 449E073F9DC10735
1 changed files with 1 additions and 1 deletions

2
ggml.c
View File

@ -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;