From 23fe7c2729e657a1886911f01dd544de732ebf61 Mon Sep 17 00:00:00 2001 From: Michalis Spyrou Date: Mon, 26 Feb 2018 10:42:01 +0000 Subject: Revert "COMPMID-945: Fix GEMM CL FP32 mismatch" This reverts commit e415fc13e23da579ab3f58a6f52fc83dd438c4b2. Change-Id: Iaf52f98486164ed125602849ea6b3129994f7671 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/122165 Reviewed-by: Georgios Pinitas Tested-by: Jenkins --- tests/validation/Validation.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'tests/validation/Validation.h') diff --git a/tests/validation/Validation.h b/tests/validation/Validation.h index 8ed22c29dc..651b7e5b3c 100644 --- a/tests/validation/Validation.h +++ b/tests/validation/Validation.h @@ -363,10 +363,7 @@ void validate(const IAccessor &tensor, const SimpleTensor &reference, const V const T &target_value = reinterpret_cast(tensor(id))[c]; const T &reference_value = reinterpret_cast(reference(id))[c]; - // Truncate numbers to the 4th decimal - const T target_truncated_value = static_cast(static_cast(target_value * 10000) / 10000); - const T reference_truncated_value = static_cast(static_cast(target_value * 10000) / 10000); - if(!compare(target_truncated_value, reference_truncated_value, tolerance_value)) + if(!compare(target_value, reference_value, tolerance_value)) { ARM_COMPUTE_TEST_INFO("id = " << id); ARM_COMPUTE_TEST_INFO("channel = " << c); -- cgit v1.2.1