Function ocl_core::retain_device
source · pub unsafe fn retain_device(
device: &DeviceId,
device_version: Option<&OpenclVersion>
) -> Result<()>
Expand description
Increments the reference count of a device.
[Version Controlled: OpenCL 1.2+] See module docs for more info.