pub enum SmSuffix {
None,
Arch,
Family,
}Expand description
2026-09-25: The suffix on an sm_XY… architecture string. It selects the
compatibility rule in ptx_arch_runs_on_device.
Variants§
None
2026-09-25: No suffix: accepted on any device with a compute capability at or above the compiled one.
Arch
2026-09-25: a, architecture-specific: accepted only on exactly the
compiled compute capability.
Family
2026-09-25: f, family-specific: accepted on devices of the same major
version 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
Checks if this value is equivalent to the given key. Read more
§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.