COMPMID-3978: Nighlty failure NEON Activation Layer mismatches on android armv7a
authorManuel Bottini <manuel.bottini@arm.com>
Tue, 17 Nov 2020 13:53:13 +0000 (13:53 +0000)
committerManuel Bottini <manuel.bottini@arm.com>
Tue, 17 Nov 2020 16:14:44 +0000 (16:14 +0000)
Change-Id: I7b0228c9c76bf545dcdda90f873fd93caf487793
Signed-off-by: Manuel Bottini <manuel.bottini@arm.com>
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/4445
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Michalis Spyrou <michalis.spyrou@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>

tests/validation/NEON/ActivationLayer.cpp

index b294ff6b6b682031386fba629e052ee04f8e9ee9..0ef4590d7ecb5f24e4a385a3c7f2b47ede078b2d 100644 (file)
@@ -47,6 +47,9 @@ namespace validation
 {
 namespace
 {
+RelativeTolerance<float> 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<T>(reference_src, info);
 
-    validate(Accessor(src), reference_dst);
+    validate(Accessor(src), reference_dst, tolerance_float_sqrt);
 }
 } // namespace