Data Structures and Utility Functions
ocl::Info
this class should be maintained by the user and be passed to getDevice
ocl::getDevice
Returns the list of devices
the function must be called before any other cv::ocl
functions; it initializes ocl runtime.
ocl::setDevice
Returns void
ocl::setBinpath
Returns void
If you call this function and set a valid path, the OCL module will save the compiled kernel to the address in the first time and reload the binary since that. It can save compilation time at the runtime.
ocl::getoclContext
Returns the pointer to the opencl context
Thefunction are used to get opencl context so that opencv can interactive with other opencl program.
ocl::getoclCommandQueue
Returns the pointer to the opencl command queue
Thefunction are used to get opencl command queue so that opencv can interactive with other opencl program.