implemented OpenCL version of cv::accumulate****

This commit is contained in:
Ilya Lavrenov
2014-01-29 00:10:06 +04:00
parent fff5a6c058
commit 7c96d98a24
5 changed files with 421 additions and 26 deletions

View File

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