From: Frankie Robertson Date: Tue, 26 Nov 2024 13:50:26 +0000 (+0200) Subject: Do not include arm_neon.h when compiling CUDA code (#1028) X-Git-Tag: upstream/0.0.1642~156 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=0f3203c4cfec179770ae4127fa31ce866e2e7daa;p=pkg%2Fggml%2Fsources%2Fggml Do not include arm_neon.h when compiling CUDA code (#1028) --- diff --git a/src/ggml-impl.h b/src/ggml-impl.h index 3965be78..f39b7a88 100644 --- a/src/ggml-impl.h +++ b/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/