pub enum Elem<D: Dialect> {
Show 25 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,
Barrier(BarrierLevel),
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
Barrier(BarrierLevel)
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> UnsafeUnpin for Elem<D>
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<C> CloneExpand for Cwhere
C: Clone,
impl<C> CloneExpand for Cwhere
C: Clone,
fn __expand_clone_method(&self, _scope: &mut Scope) -> C
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> CompilationArg for T
impl<T> CompilationArg for T
Source§fn dynamic_cast<Arg>(&self) -> Argwhere
Arg: CompilationArg,
fn dynamic_cast<Arg>(&self) -> Argwhere
Arg: CompilationArg,
Compilation args should be the same even with different element types. However, it isn’t
possible to enforce it with the type system. So, we make the compilation args serializable
and dynamically cast them. Read more
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.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more