CLContext Class Reference
Inherits from | NSObject |
---|---|
Declared in | CLContext.h |
– initWithDevices:
Create a OpenCL context for the given devices. All devices must belong to the same CLPlatform instance.
- (instancetype)initWithDevices:(NSArray *)devices
Parameters
devices |
An array of CLDevice objects form a single CLPlatform instance. |
---|
Return Value
A CLContext instance.
Discussion
Create a OpenCL context for the given devices. All devices must belong to the same CLPlatform instance.
Declared In
CLContext.h