|
static cl_int | retain (cl_device_id device) |
|
static cl_int | release (cl_device_id device) |
|
OpenCL 1.2 devices do have retain/release.
Definition at line 1629 of file opencl.hpp.
◆ release()
Retain the device.
- Parameters
-
device | A valid device created using createSubDevices |
- Returns
- CL_SUCCESS if the function executed successfully. CL_INVALID_DEVICE if device was not a valid subdevice CL_OUT_OF_RESOURCES CL_OUT_OF_HOST_MEMORY
Definition at line 1651 of file opencl.hpp.
◆ retain()
Retain the device.
- Parameters
-
device | A valid device created using createSubDevices |
- Returns
- CL_SUCCESS if the function executed successfully. CL_INVALID_DEVICE if device was not a valid subdevice CL_OUT_OF_RESOURCES CL_OUT_OF_HOST_MEMORY
Definition at line 1640 of file opencl.hpp.
The documentation for this struct was generated from the following file: