fixed ocl optical flow: sparse and tvl1
authorilya-lavrenov <ilya.lavrenov@itseez.com>
Fri, 11 Oct 2013 09:55:49 +0000 (13:55 +0400)
committerilya-lavrenov <ilya.lavrenov@itseez.com>
Fri, 11 Oct 2013 09:55:49 +0000 (13:55 +0400)
modules/ocl/src/mcwutil.cpp

index 953902d..201bc7d 100644 (file)
@@ -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)