CLDevice Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | CLDevice.h |
– initWithDeviceId:
Initialize a CLDevice instance for the given device_id. You should not call this method directly. Use [CLPlatform devicesOfType:] instead.
- (instancetype)initWithDeviceId:(cl_device_id)device_idParameters
device_id |
The opaque device identifier. |
|---|
Return Value
A CLDevice object.
Discussion
Initialize a CLDevice instance for the given device_id. You should not call this method directly. Use [CLPlatform devicesOfType:] instead.
Declared In
CLDevice.h