From b861074c74ea99222207a4a0a71954f8852f8704 Mon Sep 17 00:00:00 2001 From: Sang-Hoon Park Date: Fri, 5 Mar 2021 11:18:04 +0000 Subject: Fix build errors for functions requiring SVE2 extension Some moved functions are wrapped by SVE2 build flag as they require SVE2 extension to work. Partially Implements: COMPMID-4282 Change-Id: I8cad03127c193d779c34ca8f15190a42b0008934 Signed-off-by: Sang-Hoon Park Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/5220 Tested-by: Arm Jenkins Reviewed-by: Michalis Spyrou --- src/core/NEON/SVEMath.inl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/core/NEON/SVEMath.inl b/src/core/NEON/SVEMath.inl index a851b8a07b..ba51b5a389 100644 --- a/src/core/NEON/SVEMath.inl +++ b/src/core/NEON/SVEMath.inl @@ -325,6 +325,7 @@ inline svfloat16_t svpow_f16_z(svbool_t pg, svfloat16_t a, svfloat16_t b) #endif /* defined(__ARM_FEATURE_SVE2) */ } +#if defined(__ARM_FEATURE_SVE2) template <> inline svuint8_t convert_float_to_int(const svfloat32_t &in_0, const svfloat32_t &in_1, const svfloat32_t &in_2, const svfloat32_t &in_3) { @@ -392,6 +393,7 @@ inline svint8_t convert_float_to_int(const svfloat32_t &in_0, const sv return out; } +#endif /* defined(__ARM_FEATURE_SVE2) */ } // namespace arm_compute #endif /* defined(__ARM_FEATURE_SVE) */ -- cgit v1.2.1