Do not include arm_neon.h when compiling CUDA code (ggml/1028)

This commit is contained in:
Frankie Robertson 2024-11-26 15:50:26 +02:00 committed by Georgi Gerganov
parent 98f9916c9f
commit 6939147c47

View File

@ -14,7 +14,7 @@
#include <arm_sve.h>
#endif // __ARM_FEATURE_SVE
#if defined(__ARM_NEON)
#if defined(__ARM_NEON) && !defined(__CUDACC__)
// if YCM cannot find <arm_neon.h>, make a symbolic link to it, for example:
//
// $ ln -sfn /Library/Developer/CommandLineTools/usr/lib/clang/13.1.6/include/arm_neon.h ./src/