mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-12-27 06:39:25 +01:00
Do not include arm_neon.h when compiling CUDA code (ggml/1028)
This commit is contained in:
parent
c31ed2abfc
commit
9150f8fef9
@ -14,7 +14,7 @@
|
|||||||
#include <arm_sve.h>
|
#include <arm_sve.h>
|
||||||
#endif // __ARM_FEATURE_SVE
|
#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:
|
// 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/
|
// $ ln -sfn /Library/Developer/CommandLineTools/usr/lib/clang/13.1.6/include/arm_neon.h ./src/
|
||||||
|
Loading…
Reference in New Issue
Block a user