[−][src]Struct fil_ocl_core::types::abs::CommandQueue
cl_command_queue
Methods
impl CommandQueue
[src]
pub unsafe fn from_raw_create_ptr(ptr: cl_command_queue) -> CommandQueue
[src]
Only call this when passing the original newly created pointer
directly from clCreate...
. Do not use this to clone or copy.
pub unsafe fn from_raw_copied_ptr(ptr: cl_command_queue) -> CommandQueue
[src]
Only call this when passing a copied pointer such as from an
clGet*****Info
function.
pub fn as_ptr(&self) -> cl_command_queue
[src]
Returns a pointer, do not store it.
pub fn device(&self) -> OclCoreResult<DeviceId>
[src]
Returns the DeviceId
associated with this command queue.
pub fn context(&self) -> OclCoreResult<Context>
[src]
Returns the Context
associated with this command queue.
pub fn context_ptr(&self) -> OclCoreResult<cl_context>
[src]
Returns the cl_context
associated with this command queue.
Trait Implementations
impl ClVersions for CommandQueue
[src]
fn device_versions(&self) -> OclCoreResult<Vec<OpenclVersion>>
[src]
fn platform_version(&self) -> OclCoreResult<OpenclVersion>
[src]
fn verify_device_versions(
&self,
required_version: [u16; 2]
) -> OclCoreResult<()>
[src]
&self,
required_version: [u16; 2]
) -> OclCoreResult<()>
fn verify_platform_version(
&self,
required_version: [u16; 2]
) -> OclCoreResult<()>
[src]
&self,
required_version: [u16; 2]
) -> OclCoreResult<()>
impl<'a> ClContextPtr for &'a CommandQueue
[src]
fn as_ptr(&self) -> cl_context
[src]
impl Send for CommandQueue
[src]
impl Sync for CommandQueue
[src]
impl Drop for CommandQueue
[src]
impl AsRef<CommandQueue> for CommandQueue
[src]
fn as_ref(&self) -> &CommandQueue
[src]
impl Clone for CommandQueue
[src]
fn clone(&self) -> CommandQueue
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for CommandQueue
[src]
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,