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 
@@ -311,13 +319,6 @@ GGML_API void ggml_aligned_free(void * ptr, size_t size);
311319//  for     MUSA compilers        , we use uint16_t: ref https://github.com/ggml-org/llama.cpp/pull/11843
312320// 
313321#if  defined(__ARM_NEON) && !(defined(__CUDACC__) && __CUDACC_VER_MAJOR__ <= 11) && !defined(__MUSACC__)
314- 
315-     //  if YCM cannot find <arm_neon.h>, make a symbolic link to it, for example:
316-     // 
317-     //    $ ln -sfn /Library/Developer/CommandLineTools/usr/lib/clang/13.1.6/include/arm_neon.h ./src/
318-     // 
319-     #include  < arm_neon.h> 
320- 
321322    #define  GGML_COMPUTE_FP16_TO_FP32 (x ) ggml_compute_fp16_to_fp32(x)
322323    #define  GGML_COMPUTE_FP32_TO_FP16 (x ) ggml_compute_fp32_to_fp16(x)
323324
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments