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 {