Modifier and Type | Method and Description |
---|---|
static cl_context |
CL.clCreateContext(cl_context_properties properties,
int num_devices,
cl_device_id[] devices,
CreateContextFunction pfn_notify,
java.lang.Object user_data,
int[] errcode_ret)
Creates an OpenCL context.
|
static cl_context |
CL.clCreateContextFromType(cl_context_properties properties,
long device_type,
CreateContextFunction pfn_notify,
java.lang.Object user_data,
int[] errcode_ret)
Create an OpenCL context from a device type that identifies the specific device(s) to use.
|