From: Frankie Robertson Date: Tue, 26 Nov 2024 13:50:26 +0000 (+0200) Subject: Do not include arm_neon.h when compiling CUDA code (ggml/1028) X-Git-Tag: upstream/1.7.4~165 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=6939147c4718418ff5d111f5b339b6d83f07db09;p=pkg%2Fggml%2Fsources%2Fwhisper.cpp Do not include arm_neon.h when compiling CUDA code (ggml/1028) --- diff --git a/ggml/src/ggml-impl.h b/ggml/src/ggml-impl.h index 3965be78..f39b7a88 100644 --- a/ggml/src/ggml-impl.h +++ b/ggml/src/ggml-impl.h @@ -14,7 +14,7 @@ #include #endif // __ARM_FEATURE_SVE -#if defined(__ARM_NEON) +#if defined(__ARM_NEON) && !defined(__CUDACC__) // if YCM cannot find , make a symbolic link to it, for example: // // $ ln -sfn /Library/Developer/CommandLineTools/usr/lib/clang/13.1.6/include/arm_neon.h ./src/