OpenCV  4.10.0-dev
Open Source Computer Vision
Loading...
Searching...
No Matches
Classes | Enumerations | Functions
cv::ocl Namespace Reference

Classes

class  Context
 
class  Device
 
class  Image2D
 
class  Kernel
 
class  KernelArg
 
class  OpenCLExecutionContext
 
class  OpenCLExecutionContextScope
 
class  Platform
 
class  PlatformInfo
 
class  Program
 
class  ProgramSource
 
class  Queue
 
class  Timer
 

Enumerations

enum  OclVectorStrategy {
  OCL_VECTOR_OWN = 0 ,
  OCL_VECTOR_MAX = 1 ,
  OCL_VECTOR_DEFAULT = OCL_VECTOR_OWN
}
 

Functions

void attachContext (const String &platformName, void *platformID, void *context, void *deviceID)
 Attaches OpenCL context to OpenCV.
 
void buildOptionsAddMatrixDescription (String &buildOptions, const String &name, InputArray _m)
 
int checkOptimalVectorWidth (const int *vectorWidths, InputArray src1, InputArray src2=noArray(), InputArray src3=noArray(), InputArray src4=noArray(), InputArray src5=noArray(), InputArray src6=noArray(), InputArray src7=noArray(), InputArray src8=noArray(), InputArray src9=noArray(), OclVectorStrategy strat=OCL_VECTOR_DEFAULT)
 
void convertFromBuffer (void *cl_mem_buffer, size_t step, int rows, int cols, int type, UMat &dst)
 Convert OpenCL buffer to UMat.
 
void convertFromImage (void *cl_mem_image, UMat &dst)
 Convert OpenCL image2d_t to UMat.
 
const char * convertTypeStr (int sdepth, int ddepth, int cn, char *buf)
 
const char * convertTypeStr (int sdepth, int ddepth, int cn, char *buf, size_t buf_size)
 
void finish ()
 
MatAllocatorgetOpenCLAllocator ()
 
const char * getOpenCLErrorString (int errorCode)
 
void getPlatfomsInfo (std::vector< PlatformInfo > &platform_info)
 
bool haveAmdBlas ()
 
bool haveAmdFft ()
 
bool haveOpenCL ()
 
bool haveSVM ()
 
void initializeContextFromHandle (Context &ctx, void *platform, void *context, void *device)
 
static bool isOpenCLActivated ()
 
String kernelToStr (InputArray _kernel, int ddepth=-1, const char *name=NULL)
 
const char * memopTypeToStr (int t)
 
int predictOptimalVectorWidth (InputArray src1, InputArray src2=noArray(), InputArray src3=noArray(), InputArray src4=noArray(), InputArray src5=noArray(), InputArray src6=noArray(), InputArray src7=noArray(), InputArray src8=noArray(), InputArray src9=noArray(), OclVectorStrategy strat=OCL_VECTOR_DEFAULT)
 
int predictOptimalVectorWidthMax (InputArray src1, InputArray src2=noArray(), InputArray src3=noArray(), InputArray src4=noArray(), InputArray src5=noArray(), InputArray src6=noArray(), InputArray src7=noArray(), InputArray src8=noArray(), InputArray src9=noArray())
 
void setUseOpenCL (bool flag)
 
const char * typeToStr (int t)
 
bool useOpenCL ()
 
const char * vecopTypeToStr (int t)
 

Function Documentation

◆ isOpenCLActivated()

static bool cv::ocl::isOpenCLActivated ( )
inlinestatic