Enqueues an operation to write data to an OpenCL buffer.
1 2 | cl.enqueue.write.buffer(queue, buffer, vector, blocking = T,
offset = 0L, waitlist = NULL)
|
queue |
An opencl_command_queue object. The queue the operation will be put on. |
buffer |
An opencl_buffer object. The buffer to write data to. |
vector |
The data to write. The length in bytes of the vector must not be longer than the buffer. |
blocking |
Whether to wait for the write to finish or return immediately. Not currently used, included for future use. |
offset |
Offset in bytes from the beginning of the supplied vector. |
waitlist |
OpenCL events that must complete before this operation can start. Not currently used, included for future use. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.