pub enum GpuFamily {
Ampere,
Ada,
Hopper,
Blackwell,
}Expand description
An NVIDIA GPU architecture family — fixes the tensor-core generation and which numeric formats exist.
Variants§
Ampere
sm_80 / sm_86 — 3rd-gen tensor cores: bf16 / fp16 / tf32, int8 IMMA. A100, RTX 30xx.
Ada
sm_89 — 4th-gen tensor cores + fp8 (e4m3/e5m2). Ada: RTX 40xx / L40.
Hopper
sm_90 — 4th-gen tensor cores, wgmma / TMA, fp8. Hopper: H100 / H200.
Blackwell
sm_100 — 5th-gen tensor cores, tcgen05, fp8 + NVFP4 16-element block scaling. Blackwell: B200 / GB200.
Trait Implementations§
impl Copy for GpuFamily
impl Eq for GpuFamily
impl StructuralPartialEq for GpuFamily
Auto Trait Implementations§
impl Freeze for GpuFamily
impl RefUnwindSafe for GpuFamily
impl Send for GpuFamily
impl Sync for GpuFamily
impl Unpin for GpuFamily
impl UnsafeUnpin for GpuFamily
impl UnwindSafe for GpuFamily
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<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> DowncastSync for T
impl<T> DowncastSync for T
§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.