perf: skip stitching OpenCL test on Win32 platform

This commit is contained in:
Alexander Alekhin 2017-07-20 14:14:22 +03:00
parent 12ed7ca63e
commit ad183481c0

View File

@ -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<Mat> _imgs;