Commit 9e652161 authored by Vladislav Vinogradov's avatar Vladislav Vinogradov

set threshold to 1 in sanity test for GPU rotate on 8UC1

to fix difference with CUDA 8.0 results
parent 688bd289
...@@ -1373,7 +1373,10 @@ PERF_TEST_P(Sz_Depth_Cn_Inter, ImgProc_Rotate, ...@@ -1373,7 +1373,10 @@ PERF_TEST_P(Sz_Depth_Cn_Inter, ImgProc_Rotate,
TEST_CYCLE() cv::gpu::rotate(d_src, dst, size, 30.0, 0, 0, interpolation); TEST_CYCLE() cv::gpu::rotate(d_src, dst, size, 30.0, 0, 0, interpolation);
GPU_SANITY_CHECK(dst, 1e-3, ERROR_RELATIVE); if (depth == CV_8U)
GPU_SANITY_CHECK(dst, 1);
else
GPU_SANITY_CHECK(dst, 1e-3, ERROR_RELATIVE);
} }
else else
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment