File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change 1616#include < arm_sve.h>
1717#endif // __ARM_FEATURE_SVE
1818
19+ #if defined(__ARM_NEON) && !defined(__CUDACC__) && !defined(__MUSACC__)
20+ // if YCM cannot find <arm_neon.h>, make a symbolic link to it, for example:
21+ //
22+ // $ ln -sfn /Library/Developer/CommandLineTools/usr/lib/clang/13.1.6/include/arm_neon.h ./src/
23+ //
24+ #include < arm_neon.h>
25+ #endif
26+
1927#if defined(__F16C__)
2028#include < immintrin.h>
2129#endif
@@ -317,13 +325,6 @@ GGML_API void ggml_aligned_free(void * ptr, size_t size);
317325// for MUSA compilers , we use uint16_t: ref https://github.com/ggml-org/llama.cpp/pull/11843
318326//
319327#if defined(__ARM_NEON) && !(defined(__CUDACC__) && __CUDACC_VER_MAJOR__ <= 11) && !defined(__MUSACC__)
320-
321- // if YCM cannot find <arm_neon.h>, make a symbolic link to it, for example:
322- //
323- // $ ln -sfn /Library/Developer/CommandLineTools/usr/lib/clang/13.1.6/include/arm_neon.h ./src/
324- //
325- #include < arm_neon.h>
326-
327328 #define GGML_COMPUTE_FP16_TO_FP32 (x ) ggml_compute_fp16_to_fp32(x)
328329 #define GGML_COMPUTE_FP32_TO_FP16 (x ) ggml_compute_fp32_to_fp16(x)
329330
You can’t perform that action at this time.
0 commit comments