Handbook
Glossary
clCreateBuffer ( context flags size host_ptr errcode_ret -- cl_mem )
Vocabulary
opencl
.
ffi
Inputs
context
an
object
flags
an
object
size
an
object
host_ptr
an
object
errcode_ret
an
object
Outputs
cl_mem
an
object
Definition
USING:
alien.c-types
alien.syntax
;
IN:
opencl.ffi
LIBRARY:
opencl
FUNCTION:
cl_mem
clCreateBuffer
(
cl_context
context,
cl_mem_flags
flags,
size_t
size, void*
host_ptr, cl_int* errcode_ret )