From e1432dd91add9ba93fdbb7afedb52f224410f9dd Mon Sep 17 00:00:00 2001 From: Kevin Brothaler Date: Tue, 20 Dec 2022 13:33:33 -0500 Subject: [PATCH] Check for both __ARM_NEON and __ARM_FEATURE_FMA so that the project can be compiled for armv7a. Android armeabi-v7a's NEON support doesn't support FMA unless configured with `-mfpu=neon-fp-armv8`, which would need runtime checks. * Also removed ABI filter from Android project. --- examples/whisper.android/.idea/gradle.xml | 1 + examples/whisper.android/app/build.gradle | 4 ---- ggml.c | 16 ++++++++++++---- ggml.h | 1 + whisper.cpp | 1 + 5 files changed, 15 insertions(+), 8 deletions(-) diff --git a/examples/whisper.android/.idea/gradle.xml b/examples/whisper.android/.idea/gradle.xml index a9f4e52..a2d7c21 100644 --- a/examples/whisper.android/.idea/gradle.xml +++ b/examples/whisper.android/.idea/gradle.xml @@ -1,5 +1,6 @@ +