pub enum SmSuffix {
None,
Arch,
Family,
}Expand description
The suffix on an sm_XY… architecture string, which is what decides how
far the compiled code travels.
Variants§
None
No suffix — portable PTX. JIT-compiles on any device with a compute capability at or above the compiled one.
Arch
a — architecture-specific. Emits instructions that exist on exactly
one architecture (Hopper wgmma, its TMA descriptors), so it is never
forward-compatible.
Family
f — family-specific, added in CUDA 12.9. Runs on devices of the same
major family at or above the compiled compute capability.
Trait Implementations§
impl Copy for SmSuffix
impl Eq for SmSuffix
impl StructuralPartialEq for SmSuffix
Auto Trait Implementations§
impl Freeze for SmSuffix
impl RefUnwindSafe for SmSuffix
impl Send for SmSuffix
impl Sync for SmSuffix
impl Unpin for SmSuffix
impl UnwindSafe for SmSuffix
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.