Struct collenchyma::frameworks::opencl::queue::Queue
[−]
[src]
pub struct Queue { /* fields omitted */ }
Defines a OpenCL Queue.
Methods
impl Queue
[src]
fn new(
context: &Context,
device: &Device,
queue_flags: Option<&QueueFlags>
) -> Result<Queue, Error>
context: &Context,
device: &Device,
queue_flags: Option<&QueueFlags>
) -> Result<Queue, Error>
Create a new command queue for the provided context
and device
.
If no queue_flags
are provided, the defaults are used.
fn from_isize(id: isize) -> Queue
Initializes a new OpenCL command queue.
fn from_c(id: *mut c_void) -> Queue
Initializes a new OpenCL command queue from its C type.
fn id(&self) -> isize
Returns the id as isize.
fn id_c(&self) -> *mut c_void
Returns the id as its C type.
Trait Implementations
impl Debug for Queue
[src]
impl Clone for Queue
[src]
fn clone(&self) -> Queue
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more