fix MACRO
This commit is contained in:
parent
983799d398
commit
02692f9ac0
@ -5,6 +5,8 @@
|
|||||||
// Copyright (C) 2014, Advanced Micro Devices, Inc., all rights reserved.
|
// Copyright (C) 2014, Advanced Micro Devices, Inc., all rights reserved.
|
||||||
// Third party copyrights are property of their respective owners.
|
// Third party copyrights are property of their respective owners.
|
||||||
|
|
||||||
|
#define CV_OPENCL_RUN_ASSERT
|
||||||
|
|
||||||
#ifdef HAVE_OPENCL
|
#ifdef HAVE_OPENCL
|
||||||
|
|
||||||
#ifdef CV_OPENCL_RUN_VERBOSE
|
#ifdef CV_OPENCL_RUN_VERBOSE
|
||||||
@ -28,7 +30,7 @@
|
|||||||
if (cv::ocl::useOpenCL() && (condition)) \
|
if (cv::ocl::useOpenCL() && (condition)) \
|
||||||
{ \
|
{ \
|
||||||
CV_Assert(func); \
|
CV_Assert(func); \
|
||||||
return; \
|
return __VA_ARGS__; \
|
||||||
} \
|
} \
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user