implemented OpenCL version of cv::accumulate****
This commit is contained in:
@@ -22,6 +22,15 @@
|
||||
fflush(stdout); \
|
||||
} \
|
||||
}
|
||||
#elif defined CV_OPENCL_RUN_ASSERT
|
||||
#define CV_OCL_RUN_(condition, func, ...) \
|
||||
{ \
|
||||
if (cv::ocl::useOpenCL() && (condition)) \
|
||||
{ \
|
||||
CV_Assert(func); \
|
||||
return; \
|
||||
} \
|
||||
}
|
||||
#else
|
||||
#define CV_OCL_RUN_(condition, func, ...) \
|
||||
if (cv::ocl::useOpenCL() && (condition) && func) \
|
||||
|
Reference in New Issue
Block a user