clCreateContext ( properties num_devices devices pfn_notify user_data errcode_ret -- cl_context )


Vocabulary
opencl.ffi

Inputs
propertiesan object
num_devicesan object
devicesan object
pfn_notifyan object
user_dataan object
errcode_retan object


Outputs
cl_contextan object


Definition


LIBRARY: opencl FUNCTION: cl_context clCreateContext
( cl_context_properties* properties, cl_uint num_devices,
cl_device_id* devices, cl_create_context_cb pfn_notify,
void* user_data, cl_int* errcode_ret )