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 <georgios.pinitas@arm.com>
Tested-by: Jenkins <bsgcomp@arm.com>
diff --git a/tests/validation/Validation.h b/tests/validation/Validation.h
index 8ed22c2..651b7e5 100644
--- a/tests/validation/Validation.h
+++ b/tests/validation/Validation.h
@@ -363,10 +363,7 @@
const T &target_value = reinterpret_cast<const T *>(tensor(id))[c];
const T &reference_value = reinterpret_cast<const T *>(reference(id))[c];
- // Truncate numbers to the 4th decimal
- const T target_truncated_value = static_cast<T>(static_cast<int>(target_value * 10000) / 10000);
- const T reference_truncated_value = static_cast<T>(static_cast<int>(target_value * 10000) / 10000);
- if(!compare<U>(target_truncated_value, reference_truncated_value, tolerance_value))
+ if(!compare<U>(target_value, reference_value, tolerance_value))
{
ARM_COMPUTE_TEST_INFO("id = " << id);
ARM_COMPUTE_TEST_INFO("channel = " << c);