1
0
mirror of https://github.com/opencv/opencv_contrib.git synced 2025-10-21 23:01:45 +08:00

fix opencl build error.

This commit is contained in:
vludv
2014-08-08 01:24:55 +04:00
parent b0e450d2ed
commit 1f3336ee76

View File

@@ -1,6 +1,6 @@
#include "precomp.hpp"
#include "dtfilter_ocl.hpp"
#include "modules/edgefilter/opencl_kernels.hpp"
#include "modules/ximgproc/opencl_kernels.hpp"
//#include <opencv2/highgui.hpp>
using namespace std;
@@ -198,8 +198,8 @@ void DTFilterOCL::initProgram()
{
//CV_Assert(ocl::Device::getDefault().type() == ocl::Device::TYPE_GPU);
kerProgSrcDT = ocl::edgefilter::dtfilter_dt_oclsrc;
kerProgSrcFilter = ocl::edgefilter::dtfilter_flt_oclsrc;
kerProgSrcDT = ocl::ximgproc::dtfilter_dt_oclsrc;
kerProgSrcFilter = ocl::ximgproc::dtfilter_flt_oclsrc;
}
DTFilterOCL::DTFilterOCL()