pub unsafe fn cl_create_buffer(
context: cl_context,
mem_flags: cl_mem_flags,
size_in_bytes: usize,
ptr: *mut c_void,
) -> Output<cl_mem>Expand description
Low level helper functin for creating cl_mem buffer.
ยงSafety
Calling this function with an invalid context, or an incorrect size in bytes, or an invalid host pointer is undefined behavior.