From 945663bc9b8014d069f175b3e163ada1f16b3c6e Mon Sep 17 00:00:00 2001 From: Vladislav Vinogradov Date: Wed, 29 Jul 2015 18:57:14 +0300 Subject: [PATCH] increase epsilon for some GPU sanity tests --- modules/gpu/perf/perf_calib3d.cpp | 2 +- modules/gpu/perf/perf_core.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/gpu/perf/perf_calib3d.cpp b/modules/gpu/perf/perf_calib3d.cpp index 4a6740598..58e43eb34 100644 --- a/modules/gpu/perf/perf_calib3d.cpp +++ b/modules/gpu/perf/perf_calib3d.cpp @@ -330,7 +330,7 @@ PERF_TEST_P(Sz_Depth, Calib3D_ReprojectImageTo3D, TEST_CYCLE() cv::gpu::reprojectImageTo3D(d_src, dst, Q); - GPU_SANITY_CHECK(dst); + GPU_SANITY_CHECK(dst, 1e-1, ERROR_RELATIVE); } else { diff --git a/modules/gpu/perf/perf_core.cpp b/modules/gpu/perf/perf_core.cpp index 87e22c469..371d2869a 100644 --- a/modules/gpu/perf/perf_core.cpp +++ b/modules/gpu/perf/perf_core.cpp @@ -625,7 +625,7 @@ PERF_TEST_P(Sz_Depth, Core_Sqrt, Combine( TEST_CYCLE() cv::gpu::sqrt(d_src, dst); - GPU_SANITY_CHECK(dst); + GPU_SANITY_CHECK(dst, 1e-2); } else { @@ -665,7 +665,7 @@ PERF_TEST_P(Sz_Depth, Core_Log, Combine( TEST_CYCLE() cv::gpu::log(d_src, dst); - GPU_SANITY_CHECK(dst); + GPU_SANITY_CHECK(dst, 1e-1); } else { @@ -705,7 +705,7 @@ PERF_TEST_P(Sz_Depth, Core_Exp, Combine( TEST_CYCLE() cv::gpu::exp(d_src, dst); - GPU_SANITY_CHECK(dst); + GPU_SANITY_CHECK(dst, 1e-2); } else {