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/0.0.4488~290 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=9150f8fef95327474d39ccd6c6e30787e85f3529;p=pkg%2Fggml%2Fsources%2Fllama.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/