From 1d1bca75f766625140ab0fdf000b6336f013ed83 Mon Sep 17 00:00:00 2001 From: Manuel Bottini Date: Tue, 17 Nov 2020 13:53:13 +0000 Subject: COMPMID-3978: Nighlty failure NEON Activation Layer mismatches on android armv7a Change-Id: I7b0228c9c76bf545dcdda90f873fd93caf487793 Signed-off-by: Manuel Bottini Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/4445 Tested-by: Arm Jenkins Reviewed-by: Michalis Spyrou Comments-Addressed: Arm Jenkins --- tests/validation/NEON/ActivationLayer.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/validation/NEON/ActivationLayer.cpp b/tests/validation/NEON/ActivationLayer.cpp index b294ff6b6b..0ef4590d7e 100644 --- a/tests/validation/NEON/ActivationLayer.cpp +++ b/tests/validation/NEON/ActivationLayer.cpp @@ -47,6 +47,9 @@ namespace validation { namespace { +RelativeTolerance tolerance_float_sqrt(0.0001f); + + /** Define relative tolerance of the activation layer. * * @param[in] data_type The data type used. @@ -161,7 +164,7 @@ void test_float_sqrt_boundary_value() library->fill_static_values(reference_src, boundary_value_vector); auto reference_dst = reference::activation_layer(reference_src, info); - validate(Accessor(src), reference_dst); + validate(Accessor(src), reference_dst, tolerance_float_sqrt); } } // namespace -- cgit v1.2.1