[opencv] 119/251: perf: skip stitching OpenCL test on Win32 platform

Nobuhiro Iwamatsu iwamatsu at moszumanska.debian.org
Sun Aug 27 23:27:33 UTC 2017


This is an automated email from the git hooks/post-receive script.

iwamatsu pushed a commit to annotated tag 3.3.0
in repository opencv.

commit ad183481c09301216d98b80a30857d9a477d8640
Author: Alexander Alekhin <alexander.alekhin at intel.com>
Date:   Thu Jul 20 14:14:22 2017 +0300

    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 f7f2ca5..314e5a0 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<Mat> _imgs;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/opencv.git



More information about the debian-science-commits mailing list