Skip to content

Commit

Permalink
Do not include arm_neon.h when compiling CUDA code (ggerganov#1028)
Browse files Browse the repository at this point in the history
  • Loading branch information
frankier authored and ypapadop-amd committed Dec 2, 2024
1 parent 437f901 commit d54ace5
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 d54ace5

Please sign in to comment.