Merge pull request from ilya-lavrenov:ocl_fix_tvl1_and_sparse

This commit is contained in:
Andrey Pavlenko 2013-10-11 16:22:58 +04:00 committed by OpenCV Buildbot
commit c0265c60f3

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