From 4c17ba951b76e97102f101a88edbf012b722c732 Mon Sep 17 00:00:00 2001 From: Adnan AlSinan Date: Fri, 1 Apr 2022 19:09:46 +0100 Subject: Fix Nightly build failure - For Android builds Signed-off-by: Adnan AlSinan Change-Id: I1db1c9875ee139dd13f63fbac3e81ca0512423dd Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/7363 Reviewed-by: Gunes Bayir Comments-Addressed: Arm Jenkins Tested-by: Arm Jenkins --- tests/validation/NEON/Pooling3dLayer.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/validation/NEON/Pooling3dLayer.cpp b/tests/validation/NEON/Pooling3dLayer.cpp index f651394aec..ae5ca466b3 100644 --- a/tests/validation/NEON/Pooling3dLayer.cpp +++ b/tests/validation/NEON/Pooling3dLayer.cpp @@ -58,8 +58,9 @@ const auto Pooling3dLayerDatasetFPSmall = combine(combine(combine(combine(datase using ShapeDataset = framework::dataset::ContainerDataset>; constexpr AbsoluteTolerance tolerance_f32(0.001f); /**< Tolerance value for comparing reference's output against implementation's output for 32-bit floating-point type */ +#ifdef __ARM_FEATURE_FP16_VECTOR_ARITHMETIC constexpr AbsoluteTolerance tolerance_f16(0.01f); /**< Tolerance value for comparing reference's output against implementation's output for 16-bit floating-point type */ - +#endif /* __ARM_FEATURE_FP16_VECTOR_ARITHMETIC */ } //namespace TEST_SUITE(NEON) -- cgit v1.2.1