From ad183481c09301216d98b80a30857d9a477d8640 Mon Sep 17 00:00:00 2001 From: Alexander Alekhin Date: Thu, 20 Jul 2017 14:14:22 +0300 Subject: [PATCH] perf: skip stitching OpenCL test on Win32 platform --- modules/stitching/perf/opencl/perf_stitch.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/stitching/perf/opencl/perf_stitch.cpp b/modules/stitching/perf/opencl/perf_stitch.cpp index f7f2ca5779..314e5a0fb0 100644 --- a/modules/stitching/perf/opencl/perf_stitch.cpp +++ b/modules/stitching/perf/opencl/perf_stitch.cpp @@ -104,6 +104,11 @@ OCL_PERF_TEST_P(stitch, boat, TEST_DETECTORS) Size expected_dst_size(10789, 2663); checkDeviceMaxMemoryAllocSize(expected_dst_size, CV_16SC3, 4); +#if defined(_WIN32) && !defined(_WIN64) + if (cv::ocl::useOpenCL()) + throw ::perf::TestBase::PerfSkipTestException(); +#endif + UMat pano; vector _imgs;