Enqueues an operation to read data from an OpenCL buffer to an R vector.
1 2 | cl.enqueue.read.buffer(queue, buffer, destination, offset = 0L,
blocking = T, waitlist = NULL)
|
queue |
An opencl_command_queue object. The queue the operation will be put on. |
buffer |
An opencl_buffer object. The buffer to read from. |
destination |
The destination vector to write data into. Must be as long in bytes as the data being read. |
offset |
Offset in bytes from the beginning of the buffer to begin reading from. |
blocking |
Whether to wait for the write to finish or return immediately. Not currently used, included for future use. |
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.