From 9e83463128609548bb0b6b409edf16bfc2afb4c1 Mon Sep 17 00:00:00 2001 From: Alexander Alekhin Date: Wed, 30 Jul 2014 12:26:34 +0400 Subject: [PATCH] ocl: fix pyrUp perf test --- modules/ocl/perf/perf_pyramid.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/ocl/perf/perf_pyramid.cpp b/modules/ocl/perf/perf_pyramid.cpp index b4ca25356..783eb0b39 100644 --- a/modules/ocl/perf/perf_pyramid.cpp +++ b/modules/ocl/perf/perf_pyramid.cpp @@ -111,15 +111,15 @@ OCL_PERF_TEST_P(PyrUpFixture, PyrUp, { ocl::oclMat oclSrc(src), oclDst(dstSize, type); - OCL_TEST_CYCLE() ocl::pyrDown(oclSrc, oclDst); + OCL_TEST_CYCLE() ocl::pyrUp(oclSrc, oclDst); oclDst.download(dst); - SANITY_CHECK(dst, 5e-4); + SANITY_CHECK(dst, 1); } else if (RUN_PLAIN_IMPL) { - TEST_CYCLE() pyrDown(src, dst); + TEST_CYCLE() pyrUp(src, dst); SANITY_CHECK(dst); }