pub enum SmTarget {
Unknown,
Sm50,
Sm52,
Sm60,
Sm61,
Sm70,
Sm75,
Sm80,
Sm86,
Sm89,
Sm90,
}Expand description
SM (Streaming Multiprocessor) target architecture
Variants§
Unknown
Unknown/unspecified
Sm50
SM 5.0 (Maxwell)
Sm52
SM 5.2 (Maxwell)
Sm60
SM 6.0 (Pascal)
Sm61
SM 6.1 (Pascal)
Sm70
SM 7.0 (Volta)
Sm75
SM 7.5 (Turing)
Sm80
SM 8.0 (Ampere)
Sm86
SM 8.6 (Ampere)
Sm89
SM 8.9 (Ada Lovelace)
Sm90
SM 9.0 (Hopper)
Implementations§
Source§impl SmTarget
impl SmTarget
Sourcepub fn min_ptx_version(&self) -> (u8, u8)
pub fn min_ptx_version(&self) -> (u8, u8)
Minimum PTX version for this target
Sourcepub fn has_tensor_cores(&self) -> bool
pub fn has_tensor_cores(&self) -> bool
Does this target support Tensor Cores
Trait Implementations§
impl Copy for SmTarget
impl Eq for SmTarget
impl StructuralPartialEq for SmTarget
Auto Trait Implementations§
impl Freeze for SmTarget
impl RefUnwindSafe for SmTarget
impl Send for SmTarget
impl Sync for SmTarget
impl Unpin for SmTarget
impl UnsafeUnpin for SmTarget
impl UnwindSafe for SmTarget
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