ggerganov HF Staff commited on
Commit
f900de6
·
1 Parent(s): a1c0e2a

ggml : fix redefinition of vaddvq_f32 for 32-bit ARM (llama/6906)

Browse files
Files changed (1) hide show
  1. ggml.c +0 -12
ggml.c CHANGED
@@ -858,18 +858,6 @@ ggml_type_traits_t ggml_internal_get_type_traits(enum ggml_type type) {
858
  // simd mappings
859
  //
860
 
861
- #if defined(__ARM_NEON)
862
- #if !defined(__aarch64__)
863
-
864
- // 64-bit compatibility
865
-
866
- inline static float vaddvq_f32(float32x4_t v) {
867
- return vgetq_lane_f32(v, 0) + vgetq_lane_f32(v, 1) + vgetq_lane_f32(v, 2) + vgetq_lane_f32(v, 3);
868
- }
869
-
870
- #endif
871
- #endif
872
-
873
  // we define a common set of C macros which map to specific intrinsics based on the current architecture
874
  // we then implement the fundamental computation operations below using only these macros
875
  // adding support for new architectures requires to define the corresponding SIMD macros
 
858
  // simd mappings
859
  //
860
 
 
 
 
 
 
 
 
 
 
 
 
 
861
  // we define a common set of C macros which map to specific intrinsics based on the current architecture
862
  // we then implement the fundamental computation operations below using only these macros
863
  // adding support for new architectures requires to define the corresponding SIMD macros