Commit 1f3336ee authored by vludv's avatar vludv

fix opencl build error.

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