summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgi Gerganov <ggerganov@gmail.com>2024-04-25 15:48:25 +0300
committerGitHub <noreply@github.com>2024-04-25 15:48:25 +0300
commit51543729ff5b1361ebfb164875c93dff0850d5fe (patch)
tree2bf3c24c3cdac9ef9ed4cf3dca2920c2cd11d75b
parent4ab99d8d4762869506bb675b36501fd7c2af00b2 (diff)
ggml : fix redefinition of vaddvq_f32 for 32-bit ARM (#6906)
-rw-r--r--ggml.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/ggml.c b/ggml.c
index 086db96a..f574351f 100644
--- a/ggml.c
+++ b/ggml.c
@@ -858,18 +858,6 @@ ggml_type_traits_t ggml_internal_get_type_traits(enum ggml_type type) {
// simd mappings
//
-#if defined(__ARM_NEON)
-#if !defined(__aarch64__)
-
-// 64-bit compatibility
-
-inline static float vaddvq_f32(float32x4_t v) {
- return vgetq_lane_f32(v, 0) + vgetq_lane_f32(v, 1) + vgetq_lane_f32(v, 2) + vgetq_lane_f32(v, 3);
-}
-
-#endif
-#endif
-
// we define a common set of C macros which map to specific intrinsics based on the current architecture
// we then implement the fundamental computation operations below using only these macros
// adding support for new architectures requires to define the corresponding SIMD macros