Function ocl_core::retain_device [] [src]

pub unsafe fn retain_device(device: &DeviceId, device_version: Option<&OpenclVersion>) -> OclResult<()>

Increments the reference count of a device.

[Version Controlled: OpenCL 1.2+] See module docs for more info.