Commit 9eca3ec8 authored by Andrey Pavlenko's avatar Andrey Pavlenko Committed by OpenCV Buildbot

Merge pull request #2177 from ilya-lavrenov:ocl_superres

parents 494f7e36 ac2e6139
...@@ -52,9 +52,9 @@ ...@@ -52,9 +52,9 @@
#define __OPENCV_TEST_PRECOMP_HPP__ #define __OPENCV_TEST_PRECOMP_HPP__
#include "opencv2/opencv_modules.hpp" #include "opencv2/opencv_modules.hpp"
#include "opencv2/core.hpp" #include "opencv2/core/ocl.hpp"
#include "opencv2/imgproc.hpp"
#include "opencv2/ts.hpp" #include "opencv2/ts.hpp"
#include "opencv2/imgproc.hpp"
#include "opencv2/superres.hpp" #include "opencv2/superres.hpp"
#include "cvconfig.h" #include "cvconfig.h"
#include "input_array_utility.hpp" #include "input_array_utility.hpp"
......
...@@ -282,6 +282,7 @@ TEST_F(SuperResolution, BTVL1_CUDA) ...@@ -282,6 +282,7 @@ TEST_F(SuperResolution, BTVL1_CUDA)
TEST_F(SuperResolution, BTVL1_OCL) TEST_F(SuperResolution, BTVL1_OCL)
{ {
if (cv::ocl::useOpenCL())
RunTest(cv::superres::createSuperResolution_BTVL1_OCL()); RunTest(cv::superres::createSuperResolution_BTVL1_OCL());
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment