aboutsummaryrefslogtreecommitdiff
path: root/tests/validation/NEON/MeanStdDev.cpp
diff options
context:
space:
mode:
authorGiorgio Arena <giorgio.arena@arm.com>2017-07-20 11:32:42 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-09-17 14:16:42 +0100
commit07a1533554c6afb4fb43067254b71c08d131378a (patch)
tree635159c13a3871736f8796f964ca664c9e5180b0 /tests/validation/NEON/MeanStdDev.cpp
parentede513c34448214792897399d160483cd30eb70d (diff)
downloadComputeLibrary-07a1533554c6afb4fb43067254b71c08d131378a.tar.gz
COMPMID-417 NEON MeanStdDev bugfix: added floating point validation tolerance
Change-Id: I4611346a36c09f74c7587303ce201251df892cd5 Reviewed-on: http://mpd-gerrit.cambridge.arm.com/81131 Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com> Reviewed-by: Steven Niu <steven.niu@arm.com>
Diffstat (limited to 'tests/validation/NEON/MeanStdDev.cpp')
-rw-r--r--tests/validation/NEON/MeanStdDev.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/validation/NEON/MeanStdDev.cpp b/tests/validation/NEON/MeanStdDev.cpp
index 1598bd893c..cb92988e31 100644
--- a/tests/validation/NEON/MeanStdDev.cpp
+++ b/tests/validation/NEON/MeanStdDev.cpp
@@ -122,7 +122,7 @@ BOOST_DATA_TEST_CASE(RunSmall, Small2DShapes(), shape)
// Validate output
validate(output.first, ref_output.first);
- validate(output.second, ref_output.second);
+ validate(output.second, ref_output.second, 0.f, 0.001f);
}
BOOST_TEST_DECORATOR(*boost::unit_test::label("nightly"))
@@ -136,7 +136,7 @@ BOOST_DATA_TEST_CASE(RunLarge, Large2DShapes(), shape)
// Validate output
validate(output.first, ref_output.first);
- validate(output.second, ref_output.second);
+ validate(output.second, ref_output.second, 0.f, 0.001f);
}
BOOST_AUTO_TEST_SUITE_END()