cl.enqueue.read.buffer: Read data from a buffer

Description Usage Arguments

View source: R/rcl.r

Description

Enqueues an operation to read data from an OpenCL buffer to an R vector.

Usage

1
2
cl.enqueue.read.buffer(queue, buffer, destination, offset = 0L,
  blocking = T, waitlist = NULL)

Arguments

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.


caffeine-overload/rocl documentation built on May 6, 2019, 7:02 p.m.