From ca32583fddbe1a7be5bb94dd0b6d33d44a4eb23b Mon Sep 17 00:00:00 2001 From: ilya-lavrenov Date: Fri, 11 Oct 2013 13:55:49 +0400 Subject: [PATCH] fixed ocl optical flow: sparse and tvl1 --- modules/ocl/src/mcwutil.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ocl/src/mcwutil.cpp b/modules/ocl/src/mcwutil.cpp index 953902d..201bc7d 100644 --- a/modules/ocl/src/mcwutil.cpp +++ b/modules/ocl/src/mcwutil.cpp @@ -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) -- 2.7.4