aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/validation/CL/LocallyConnected.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/validation/CL/LocallyConnected.cpp b/tests/validation/CL/LocallyConnected.cpp
index 6387fcc64a..d8f236cb12 100644
--- a/tests/validation/CL/LocallyConnected.cpp
+++ b/tests/validation/CL/LocallyConnected.cpp
@@ -42,6 +42,8 @@ namespace validation
{
namespace
{
+constexpr AbsoluteTolerance<float> atolerance_f32(0.00001f); /**< Absolute Tolerance value for comparing reference's output against implementation's output for DataType::F32 */
+RelativeTolerance<float> rtolerance_f32(0.05f); /**< Tolerance value for comparing reference's output against implementation's output for DataType::F32 */
} // namespace
TEST_SUITE(CL)
@@ -141,7 +143,7 @@ FIXTURE_DATA_TEST_CASE(RunSmall, CLLocallyConnectedFixture<float>, framework::Da
DataType::F32)))
{
// Validate output
- validate(CLAccessor(_target), _reference);
+ validate(CLAccessor(_target), _reference, rtolerance_f32, 0.f, atolerance_f32);
}
FIXTURE_DATA_TEST_CASE(RunLarge, CLLocallyConnectedFixture<float>, framework::DatasetMode::NIGHTLY, combine(datasets::LargeLocallyConnectedDataset(),
@@ -149,7 +151,7 @@ FIXTURE_DATA_TEST_CASE(RunLarge, CLLocallyConnectedFixture<float>, framework::Da
DataType::F32)))
{
// Validate output
- validate(CLAccessor(_target), _reference);
+ validate(CLAccessor(_target), _reference, rtolerance_f32, 0.f, atolerance_f32);
}
TEST_SUITE_END()
TEST_SUITE_END()