Merge remote-tracking branch 'origin/2.4' into merge-2.4
Conflicts: modules/core/include/opencv2/core/version.hpp modules/ocl/include/opencv2/ocl/ocl.hpp modules/ocl/src/initialization.cpp modules/ocl/test/main.cpp modules/superres/CMakeLists.txt modules/superres/src/input_array_utility.cpp modules/superres/src/input_array_utility.hpp modules/superres/src/optical_flow.cpp
This commit is contained in:
@@ -274,5 +274,12 @@ TEST_F(SuperResolution, BTVL1_GPU)
|
||||
{
|
||||
RunTest(cv::superres::createSuperResolution_BTVL1_GPU());
|
||||
}
|
||||
|
||||
#endif
|
||||
#if defined(HAVE_OPENCV_OCL) && defined(HAVE_OPENCL)
|
||||
TEST_F(SuperResolution, BTVL1_OCL)
|
||||
{
|
||||
std::vector<cv::ocl::Info> infos;
|
||||
cv::ocl::getDevice(infos);
|
||||
RunTest(cv::superres::createSuperResolution_BTVL1_OCL());
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user