fixed ocl optical flow: sparse and tvl1

This commit is contained in:
ilya-lavrenov 2013-10-11 13:55:49 +04:00
parent 171e0e62ec
commit ca32583fdd

View File

@ -223,7 +223,7 @@ namespace cv
bool support_image2d(Context *clCxt) 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 _isTested = false;
static bool _support = false; static bool _support = false;
if(_isTested) if(_isTested)