Enum blaze_rs::core::OutOfOrderExec
source · #[non_exhaustive]pub enum OutOfOrderExec {
Enabled,
Disabled,
OnDevice(bool),
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Enabled
The commands in the command-queue are executed out-of-order
Disabled
Commands are executed in-order
OnDevice(bool)
Available on crate feature
cl2
only.Indicates that this is a device queue, and the commands in the queue are executed out-of-order.
The boolean value indicates if this is the default device queue or not.
Implementations§
source§impl OutOfOrderExec
impl OutOfOrderExec
pub const fn from_bits(v: cl_command_queue_properties) -> Self
pub const fn to_bits(self) -> cl_command_queue_properties
Trait Implementations§
source§impl Clone for OutOfOrderExec
impl Clone for OutOfOrderExec
source§fn clone(&self) -> OutOfOrderExec
fn clone(&self) -> OutOfOrderExec
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for OutOfOrderExec
impl Debug for OutOfOrderExec
source§impl Default for OutOfOrderExec
impl Default for OutOfOrderExec
source§impl From<bool> for OutOfOrderExec
impl From<bool> for OutOfOrderExec
source§impl Hash for OutOfOrderExec
impl Hash for OutOfOrderExec
source§impl PartialEq<OutOfOrderExec> for OutOfOrderExec
impl PartialEq<OutOfOrderExec> for OutOfOrderExec
source§fn eq(&self, other: &OutOfOrderExec) -> bool
fn eq(&self, other: &OutOfOrderExec) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for OutOfOrderExec
impl Eq for OutOfOrderExec
impl StructuralEq for OutOfOrderExec
impl StructuralPartialEq for OutOfOrderExec
Auto Trait Implementations§
impl RefUnwindSafe for OutOfOrderExec
impl Send for OutOfOrderExec
impl Sync for OutOfOrderExec
impl Unpin for OutOfOrderExec
impl UnwindSafe for OutOfOrderExec
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more