Merge pull request #2879 from alalek:ocl_runtime_flags

This commit is contained in:
Vadim Pisarevsky
2014-08-04 16:43:00 +00:00
4 changed files with 59 additions and 10 deletions

View File

@@ -636,6 +636,9 @@ protected:
CV_EXPORTS MatAllocator* getOpenCLAllocator();
CV_EXPORTS_W bool isPerformanceCheckBypassed();
#define OCL_PERFORMANCE_CHECK(condition) (cv::ocl::isPerformanceCheckBypassed() || (condition))
}}
#endif