Struct ocl_core::types::abs::CommandQueue
[−]
[src]
pub struct CommandQueue(_);
cl_command_queue
Methods
impl CommandQueue
[src]
unsafe fn from_fresh_ptr(ptr: cl_command_queue) -> CommandQueue
Only call this when passing a newly created pointer directly from
clCreate...
. Do not use this to clone or copy.
unsafe fn from_copied_ptr(ptr: cl_command_queue) -> CommandQueue
Only call this when passing a copied pointer such as from an
clGet*****Info
function.
unsafe fn as_ptr(&self) -> cl_command_queue
Returns a pointer, do not store it.
fn device(&self) -> OclResult<DeviceId>
Returns the DeviceId
associated with this command queue.
Trait Implementations
impl Debug for CommandQueue
[src]
impl Clone for CommandQueue
[src]
fn clone(&self) -> CommandQueue
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
impl Drop for CommandQueue
[src]
impl AsRef<CommandQueue> for CommandQueue
[src]
fn as_ref(&self) -> &CommandQueue
Performs the conversion.