chickadee » opencl » buffer-write

buffer-write buffer cq src #!key (offset 0)procedure

Copy the content of src to buffer. See this page. Only blocking writes are supported.

cq must be a valid cl_command-queue. src must be a srfi-4 vector or a blob. offset is the offset in bytes in the buffer object to write to.