Skip to content

Commit

Permalink
Do not include arm_neon.h when running under nvcc
Browse files Browse the repository at this point in the history
  • Loading branch information
frankier committed Nov 26, 2024
1 parent 6fcbd60 commit 88b306f
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(__NVCC__) && 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 88b306f

Please sign in to comment.