Skip to content

Commit c8f78cf

Browse files
committed
Attempt at fixing Tizen build
Added a define guard to stop function redefinition Signed-off-by: p-debski2 <[email protected]>
1 parent 97302d5 commit c8f78cf

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

nntrainer/tensor/cpu_backend/ggml_interface/nntr_ggml_impl/nntr_ggml_impl_utils.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -873,6 +873,8 @@ inline static int32_t vaddvq_s32(int32x4_t v) {
873873
vgetq_lane_s32(v, 3);
874874
}
875875

876+
#if not(defined(ARMV7)) || !(ARMV7)
877+
876878
inline static float vaddvq_f32(float32x4_t v) {
877879
return vgetq_lane_f32(v, 0) + vgetq_lane_f32(v, 1) + vgetq_lane_f32(v, 2) +
878880
vgetq_lane_f32(v, 3);
@@ -894,6 +896,8 @@ inline static int32x4_t vcvtnq_s32_f32(float32x4_t v) {
894896
return res;
895897
}
896898

899+
#endif
900+
897901
inline static uint8x8_t vzip1_u8(uint8x8_t a, uint8x8_t b) {
898902
uint8x8_t res;
899903

0 commit comments

Comments
 (0)