Handbook
Glossary
clCreateImage2D ( context flags image_format image_width image_height image_row_pitch host_ptr errcode_ret -- cl_mem )
Vocabulary
opencl
.
ffi
Inputs
context
an
object
flags
an
object
image_format
an
object
image_width
an
object
image_height
an
object
image_row_pitch
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
clCreateImage2D
(
cl_context
context,
cl_mem_flags
flags, cl_image_format*
image_format,
size_t
image_width,
size_t
image_height,
size_t
image_row_pitch, void* host_ptr, cl_int* errcode_ret
)