exposed OpenCL-control functions to python

This commit is contained in:
Alexander Mordvintsev
2014-04-29 16:57:19 +04:00
parent cafcfc4d0f
commit 2756ae2051
4 changed files with 10 additions and 7 deletions

View File

@@ -46,12 +46,12 @@
namespace cv { namespace ocl {
CV_EXPORTS bool haveOpenCL();
CV_EXPORTS bool useOpenCL();
CV_EXPORTS bool haveAmdBlas();
CV_EXPORTS bool haveAmdFft();
CV_EXPORTS void setUseOpenCL(bool flag);
CV_EXPORTS void finish();
CV_EXPORTS_W bool haveOpenCL();
CV_EXPORTS_W bool useOpenCL();
CV_EXPORTS_W bool haveAmdBlas();
CV_EXPORTS_W bool haveAmdFft();
CV_EXPORTS_W void setUseOpenCL(bool flag);
CV_EXPORTS_W void finish();
class CV_EXPORTS Context;
class CV_EXPORTS Device;