Skip to content

Commit

Permalink
Do not include arm_neon.h when compiling CUDA code (#1028)
Browse files Browse the repository at this point in the history
  • Loading branch information
frankier authored Nov 26, 2024
1 parent 6fcbd60 commit 0f3203c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ggml-impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down

0 comments on commit 0f3203c

Please sign in to comment.