From ee3e35c0bc19c43a222cda614b4332085a5f144d Mon Sep 17 00:00:00 2001 From: Michele Di Giorgio Date: Thu, 27 Feb 2020 11:44:30 +0000 Subject: COMPMID-3069: Fix build for armv7a on Android Change-Id: Iefdebff9d480d3a2bb9446af9ac12edb52500916 Signed-off-by: Michele Di Giorgio Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/2797 Tested-by: Arm Jenkins Reviewed-by: Luca Foschiani Comments-Addressed: Arm Jenkins --- tests/validation/NEON/ReductionOperation.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/validation/NEON/ReductionOperation.cpp b/tests/validation/NEON/ReductionOperation.cpp index cd96a6abcc..f155e97d0d 100644 --- a/tests/validation/NEON/ReductionOperation.cpp +++ b/tests/validation/NEON/ReductionOperation.cpp @@ -45,8 +45,10 @@ namespace /** Tolerance for float operations */ AbsoluteTolerance tolerance_f32(0.0001f); RelativeTolerance rel_tolerance_f32(0.0001f); +#ifdef __ARM_FEATURE_FP16_VECTOR_ARITHMETIC AbsoluteTolerance tolerance_f16(0.1f); RelativeTolerance rel_tolerance_f16(0.1f); +#endif // __ARM_FEATURE_FP16_VECTOR_ARITHMETIC /** Tolerance for quantized operations */ RelativeTolerance tolerance_quantized(1.f); -- cgit v1.2.1