Merge pull request #2220 from ilya-lavrenov:tapi_accumulate

This commit is contained in:
Andrey Pavlenko
2014-01-30 17:33:06 +04:00
committed by OpenCV Buildbot
6 changed files with 561 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) \