Merge pull request #1601 from ilya-lavrenov:ocl_fix_tvl1_and_sparse
This commit is contained in:
commit
c0265c60f3
@ -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…
x
Reference in New Issue
Block a user