From 88b306f43ce2619a783460cdac67a8ae6bc55a7d Mon Sep 17 00:00:00 2001 From: Frankie Robertson Date: Tue, 26 Nov 2024 11:17:29 +0200 Subject: [PATCH] Do not include arm_neon.h when running under nvcc --- src/ggml-impl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ggml-impl.h b/src/ggml-impl.h index 3965be787..ed8abe1f1 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(__NVCC__) && 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/