diff options
author | Michalis Spyrou <michalis.spyrou@arm.com> | 2018-10-24 17:27:02 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:55:45 +0000 |
commit | 0bebac5b0e5016fb15a7a2f485268c92ffe9d0dc (patch) | |
tree | f0f6b180b059069852ca6aac91a0a442d1f4a714 /tests/validation | |
parent | d7cd361f31ab8c15477712eb2da0b21343472b89 (diff) | |
download | ComputeLibrary-0bebac5b0e5016fb15a7a2f485268c92ffe9d0dc.tar.gz |
COMPMID-1682 Nightly NEON Reduction operation mismatches
Increase tolerance for fp32 and added absolute tolerance
Change-Id: Iff828457b514d6301ed2c8e04b66ce86867f72b6
Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/155086
Tested-by: bsgcomp <bsgcomp@arm.com>
Reviewed-by: Isabella Gottardi <isabella.gottardi@arm.com>
Diffstat (limited to 'tests/validation')
-rw-r--r-- | tests/validation/NEON/ReductionOperation.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/validation/NEON/ReductionOperation.cpp b/tests/validation/NEON/ReductionOperation.cpp index 2a381bfa58..8a9d21b091 100644 --- a/tests/validation/NEON/ReductionOperation.cpp +++ b/tests/validation/NEON/ReductionOperation.cpp @@ -44,7 +44,8 @@ namespace validation namespace { /** Tolerance for float operations */ -RelativeTolerance<float> tolerance_f32(0.00001f); +AbsoluteTolerance<float> tolerance_f32(0.0001f); +RelativeTolerance<float> rel_tolerance_f32(0.00001f); /** Tolerance for quantized operations */ RelativeTolerance<float> tolerance_qasymm8(1); } // namespace @@ -96,7 +97,7 @@ FIXTURE_DATA_TEST_CASE(RunLarge, NEReductionOperationFixture<float>, framework:: combine(combine(combine(datasets::Large4DShapes(), framework::dataset::make("DataType", DataType::F32)), framework::dataset::make("Axis", { 0, 1, 2, 3 })), datasets::ReductionOperations())) { // Validate output - validate(Accessor(_target), _reference, tolerance_f32); + validate(Accessor(_target), _reference, rel_tolerance_f32, 0, tolerance_f32); } TEST_SUITE_END() // FP32 |