#[non_exhaustive]pub enum ExecutionTarget {
PortableCpu,
OptimizedCpu,
Gpu,
Accelerator,
}Expand description
Broad execution target. Specific ISA/device features stay in provider crates.
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.
PortableCpu
Portable scalar CPU implementation.
OptimizedCpu
Runtime-selected CPU implementation.
Gpu
General-purpose GPU compute.
Accelerator
Other accelerator supplied downstream.
Trait Implementations§
Source§impl Clone for ExecutionTarget
impl Clone for ExecutionTarget
Source§fn clone(&self) -> ExecutionTarget
fn clone(&self) -> ExecutionTarget
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 ExecutionTarget
impl Debug for ExecutionTarget
Source§impl Hash for ExecutionTarget
impl Hash for ExecutionTarget
Source§impl PartialEq for ExecutionTarget
impl PartialEq for ExecutionTarget
impl Copy for ExecutionTarget
impl Eq for ExecutionTarget
impl StructuralPartialEq for ExecutionTarget
Auto Trait Implementations§
impl Freeze for ExecutionTarget
impl RefUnwindSafe for ExecutionTarget
impl Send for ExecutionTarget
impl Sync for ExecutionTarget
impl Unpin for ExecutionTarget
impl UnwindSafe for ExecutionTarget
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