remove the empty implementation when HAVE_OPENCL not defined

This commit is contained in:
yao
2013-02-23 20:50:03 +08:00
parent d050159f07
commit f1a5c1328c
24 changed files with 10 additions and 940 deletions

View File

@@ -54,13 +54,6 @@ using namespace cv;
using namespace cv::ocl;
using namespace std;
#ifndef HAVE_OPENCL
void cv::ocl::pyrUp(const oclMat &, GpuMat &, oclMat &)
{
throw_nogpu();
}
#else
namespace cv
{
namespace ocl
@@ -93,5 +86,4 @@ namespace cv
openCLExecuteKernel(clCxt, &pyr_up, kernelName, globalThreads, localThreads, args, src.oclchannels(), src.depth());
}
}
};
#endif // HAVE_OPENCL
}