pub enum ComputePrecision {
Fp32,
Fp64,
}Expand description
Compute/accumulation precision.
Variants§
Implementations§
Source§impl ComputePrecision
impl ComputePrecision
Sourcepub const fn element_bytes(self) -> u32
pub const fn element_bytes(self) -> u32
Bytes per element.
Sourcepub const fn bit_suffix(self) -> &'static str
pub const fn bit_suffix(self) -> &'static str
Returns the bit-move suffix for mov.bN instructions.
Trait Implementations§
Source§impl Clone for ComputePrecision
impl Clone for ComputePrecision
Source§fn clone(&self) -> ComputePrecision
fn clone(&self) -> ComputePrecision
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 ComputePrecision
Source§impl Debug for ComputePrecision
impl Debug for ComputePrecision
impl Eq for ComputePrecision
Source§impl Hash for ComputePrecision
impl Hash for ComputePrecision
Source§impl PartialEq for ComputePrecision
impl PartialEq for ComputePrecision
Source§fn eq(&self, other: &ComputePrecision) -> bool
fn eq(&self, other: &ComputePrecision) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ComputePrecision
Auto Trait Implementations§
impl Freeze for ComputePrecision
impl RefUnwindSafe for ComputePrecision
impl Send for ComputePrecision
impl Sync for ComputePrecision
impl Unpin for ComputePrecision
impl UnsafeUnpin for ComputePrecision
impl UnwindSafe for ComputePrecision
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