cl.enqueue.write.buffer: Write data to a buffer

Description Usage Arguments

View source: R/rcl.r

Description

Enqueues an operation to write data to an OpenCL buffer.

Usage

1
2
cl.enqueue.write.buffer(queue, buffer, vector, blocking = T,
  offset = 0L, 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 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.


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