fixed ocl optical flow: sparse and tvl1

pull/1601/head
ilya-lavrenov 11 years ago
parent 171e0e62ec
commit ca32583fdd
  1. 2
      modules/ocl/src/mcwutil.cpp

@ -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)

Loading…
Cancel
Save