diff options
author | Sang-Hoon Park <sang-hoon.park@arm.com> | 2021-03-05 11:18:04 +0000 |
---|---|---|
committer | Michalis Spyrou <michalis.spyrou@arm.com> | 2021-03-05 15:36:19 +0000 |
commit | b861074c74ea99222207a4a0a71954f8852f8704 (patch) | |
tree | 327010b27beb21347599d3b9ce8b8e30673e3333 | |
parent | 57d7366524ed02e7e3eab62af05cd38171efaea8 (diff) | |
download | ComputeLibrary-b861074c74ea99222207a4a0a71954f8852f8704.tar.gz |
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 <sang-hoon.park@arm.com>
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/5220
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Michalis Spyrou <michalis.spyrou@arm.com>
-rw-r--r-- | src/core/NEON/SVEMath.inl | 2 |
1 files changed, 2 insertions, 0 deletions
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<svuint8_t>(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<svint8_t>(const svfloat32_t &in_0, const sv return out; } +#endif /* defined(__ARM_FEATURE_SVE2) */ } // namespace arm_compute #endif /* defined(__ARM_FEATURE_SVE) */ |