Commit ca32583f authored by ilya-lavrenov's avatar ilya-lavrenov

fixed ocl optical flow: sparse and tvl1

parent 171e0e62
......@@ -223,7 +223,7 @@ namespace cv
bool support_image2d(Context *clCxt)
{
const cv::ocl::ProgramEntry _kernel = {NULL, "__kernel void test_func(image2d_t img) {}", NULL};
const cv::ocl::ProgramEntry _kernel = {"test_func", "__kernel void test_func(image2d_t img) {}", NULL};
static bool _isTested = false;
static bool _support = false;
if(_isTested)
......
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