pub enum ComputeTier {
Baseline,
Mobile,
Consumer,
Workstation,
Datacenter,
}Expand description
A coarse “compute tier” used by strategy heuristics when capability bits are insufficient. Backends map their micro-arch to one of these.
Variants§
Baseline
CPU SIMD baseline.
Mobile
Mobile NPU / integrated GPU.
Consumer
Consumer dGPU (e.g. RTX 4060, RX 7600, M-series Pro).
Workstation
Workstation GPU (RTX 6000 Ada, Radeon Pro, M-series Max).
Datacenter
Datacenter GPU (H100, MI300, GB200).
Trait Implementations§
Source§impl Clone for ComputeTier
impl Clone for ComputeTier
Source§fn clone(&self) -> ComputeTier
fn clone(&self) -> ComputeTier
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ComputeTier
Source§impl Debug for ComputeTier
impl Debug for ComputeTier
Source§impl<'de> Deserialize<'de> for ComputeTier
impl<'de> Deserialize<'de> for ComputeTier
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ComputeTier
Source§impl Ord for ComputeTier
impl Ord for ComputeTier
Source§fn cmp(&self, other: &ComputeTier) -> Ordering
fn cmp(&self, other: &ComputeTier) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ComputeTier
impl PartialEq for ComputeTier
Source§impl PartialOrd for ComputeTier
impl PartialOrd for ComputeTier
Source§impl Serialize for ComputeTier
impl Serialize for ComputeTier
impl StructuralPartialEq for ComputeTier
Auto Trait Implementations§
impl Freeze for ComputeTier
impl RefUnwindSafe for ComputeTier
impl Send for ComputeTier
impl Sync for ComputeTier
impl Unpin for ComputeTier
impl UnsafeUnpin for ComputeTier
impl UnwindSafe for ComputeTier
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