pub enum Elem<D: Dialect> {
Show 24 variants
TF32,
F32,
F64,
F16,
F16x2,
BF16,
BF16x2,
FP4(FP4Kind),
FP4x2(FP4Kind),
FP6(FP6Kind),
FP6x2(FP6Kind),
FP8(FP8Kind),
FP8x2(FP8Kind),
I8,
I16,
I32,
I64,
U8,
U16,
U32,
U64,
Bool,
Atomic(AtomicKind<D>),
_Dialect(PhantomData<D>),
}
Variants§
TF32
F32
F64
F16
F16x2
BF16
BF16x2
FP4(FP4Kind)
FP4x2(FP4Kind)
FP6(FP6Kind)
FP6x2(FP6Kind)
FP8(FP8Kind)
FP8x2(FP8Kind)
I8
I16
I32
I64
U8
U16
U32
U64
Bool
Atomic(AtomicKind<D>)
_Dialect(PhantomData<D>)
Implementations§
Trait Implementations§
impl<D: Copy + Dialect> Copy for Elem<D>
impl<D: Eq + Dialect> Eq for Elem<D>
impl<D: Dialect> StructuralPartialEq for Elem<D>
Auto Trait Implementations§
impl<D> Freeze for Elem<D>
impl<D> RefUnwindSafe for Elem<D>where
D: RefUnwindSafe,
impl<D> Send for Elem<D>
impl<D> Sync for Elem<D>
impl<D> Unpin for Elem<D>where
D: Unpin,
impl<D> UnwindSafe for Elem<D>where
D: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.