Skip to content
Michael Chaten edited this page Oct 13, 2010 · 1 revision

License:
Apache 2.0

struct CommandQueue;
Represents an OpenCL Command Queue.

this(cl_command_queue queue);
Create this from an existing command queue

this(Context context, DeviceID device_id, cl_command_queue_properties properties);
Create a Command Queue.

Event enqueue_nd_range_kernel(Kernel kernel, cl_uint work_dim, const uint[] work_size, const uint[] local_work_size);


Event enqueue_task(Kernel kernel);


Event enqueue_read_buffer(Buffer buffer, bool blocking, out void[] data);
Read data from the buffer into the array

Event enqueue_write_buffer(Buffer buffer, bool blocking, in void[] data);
Write data into the buffer from the array

Clone this wiki locally