clCreateBuffer ( context flags size host_ptr errcode_ret -- cl_mem )


Vocabulary
opencl.ffi

Inputs
contextan object
flagsan object
sizean object
host_ptran object
errcode_retan object


Outputs
cl_meman object


Definition


LIBRARY: opencl FUNCTION: cl_mem clCreateBuffer
( cl_context context, cl_mem_flags flags, size_t size, void*
host_ptr, cl_int* errcode_ret )