Top | ![]() |
![]() |
![]() |
![]() |
GoclDevice * | device | Read / Write / Construct Only |
guint | flags | Read / Write / Construct Only |
A GoclQueue represents an OpenCL command queue that is created from a
device, using gocl_device_get_default_queue()
. Currently, there is no
API for creating command queues directly, but that can change as soon
as practical use cases require it.
For API simplicity, operations on a command queue are handled
elsewhere, like gocl_kernel_run_in_device()
, which internally enqueues
the execution; or gocl_buffer_read_sync()
and gocl_buffer_write_sync()
, which
internally enqueues read/write operations on the command queue.
guint
gocl_queue_get_flags (GoclQueue *self
);
Retrieves the properties of this command queue, as an OR'ed set of values from GoclQueueFlags.
“device”
property“device” GoclDevice *
The device this queue belongs to.
Owner: GoclQueue
Flags: Read / Write / Construct Only