|
CLContextCreate
Creates an OpenCL context and returns its handle.
int CLContextCreate(
|
Parameter
device
[in] The ordinal number of the OpenCL-device in the system. Instead of a specific number, you can specify one of the following values:
Return Value
A handle to the OpenCL context if successful, otherwise -1. For information about the error, use the GetLastError() function.