Handbook
Glossary
clCreateContext ( properties num_devices devices pfn_notify user_data errcode_ret -- cl_context )
Vocabulary
opencl
.
ffi
Inputs
properties
an
object
num_devices
an
object
devices
an
object
pfn_notify
an
object
user_data
an
object
errcode_ret
an
object
Outputs
cl_context
an
object
Definition
USING:
alien.c-types
alien.syntax
;
IN:
opencl.ffi
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 )