ocl: update ocl samples

This commit is contained in:
Alexander Alekhin
2013-10-03 19:35:01 +04:00
parent 7f0680fc8b
commit 69c2ef5ed2
11 changed files with 10 additions and 73 deletions

View File

@@ -132,17 +132,9 @@ int main(int argc, const char* argv[])
}
#endif
#if defined(HAVE_OPENCV_OCL)
std::vector<cv::ocl::Info>info;
if(useCuda)
{
CV_Assert(!useOcl);
info.clear();
}
if(useOcl)
{
CV_Assert(!useCuda);
cv::ocl::getDevice(info);
}
#endif
Ptr<SuperResolution> superRes;