clCreateImage2D ( context flags image_format image_width image_height image_row_pitch host_ptr errcode_ret -- cl_mem )


Vocabulary
opencl.ffi

Inputs
contextan object
flagsan object
image_formatan object
image_widthan object
image_heightan object
image_row_pitchan object
host_ptran object
errcode_retan object


Outputs
cl_meman object


Definition


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
)