Skip to content

Commit ad18348

Browse files
committed
perf: skip stitching OpenCL test on Win32 platform
1 parent 12ed7ca commit ad18348

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

modules/stitching/perf/opencl/perf_stitch.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,11 @@ OCL_PERF_TEST_P(stitch, boat, TEST_DETECTORS)
104104
Size expected_dst_size(10789, 2663);
105105
checkDeviceMaxMemoryAllocSize(expected_dst_size, CV_16SC3, 4);
106106

107+
#if defined(_WIN32) && !defined(_WIN64)
108+
if (cv::ocl::useOpenCL())
109+
throw ::perf::TestBase::PerfSkipTestException();
110+
#endif
111+
107112
UMat pano;
108113

109114
vector<Mat> _imgs;

0 commit comments

Comments
 (0)