aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichele Di Giorgio <michele.digiorgio@arm.com>2020-02-27 11:44:30 +0000
committerMichele Di Giorgio <michele.digiorgio@arm.com>2020-02-27 14:17:44 +0000
commitee3e35c0bc19c43a222cda614b4332085a5f144d (patch)
tree20144828fdf16821cedd68bf21fff61305fd0fe2
parentfec13b8e20dc9d71d729f750633fa52c3a8a0036 (diff)
downloadComputeLibrary-ee3e35c0bc19c43a222cda614b4332085a5f144d.tar.gz
COMPMID-3069: Fix build for armv7a on Android
Change-Id: Iefdebff9d480d3a2bb9446af9ac12edb52500916 Signed-off-by: Michele Di Giorgio <michele.digiorgio@arm.com> Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/2797 Tested-by: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Luca Foschiani <luca.foschiani@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
-rw-r--r--tests/validation/NEON/ReductionOperation.cpp2
1 files changed, 2 insertions, 0 deletions
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<float> tolerance_f32(0.0001f);
RelativeTolerance<float> rel_tolerance_f32(0.0001f);
+#ifdef __ARM_FEATURE_FP16_VECTOR_ARITHMETIC
AbsoluteTolerance<float> tolerance_f16(0.1f);
RelativeTolerance<float> rel_tolerance_f16(0.1f);
+#endif // __ARM_FEATURE_FP16_VECTOR_ARITHMETIC
/** Tolerance for quantized operations */
RelativeTolerance<float> tolerance_quantized(1.f);