Struct opencv::core::Device [−][src]
pub struct Device { /* fields omitted */ }
Implementations
Parameters
- d: OpenCL handle (cl_device_id). clRetainDevice() is called on success.
Note: Ownership of the passed device is passed to OpenCV on success.
The caller should additionally call clRetainDevice
on it if it intends
to continue using the device.
Trait Implementations
deprecated, use isExtensionSupported() method (probably with “cl_khr_subgroups” value)