structures_and_functions.rst 650 Bytes

Data Structures and 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.