mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2024-12-24 06:46:37 +00:00
Do not include arm_neon.h when compiling CUDA code (ggml/1028)
This commit is contained in:
parent
98f9916c9f
commit
6939147c47
@ -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