Function opencl3::device::release_device [−][src]
Expand description
Release an OpenCL device.
Calls clReleaseDevice to decrement the device reference count
if device is a valid sub-device created by a call to clCreateSubDevices.
device
- the cl_device_id of the OpenCL device.
returns an empty Result or the error code from the OpenCL C API function.