pub struct Capability {
pub flags: CapabilityFlags,
pub tier: ComputeTier,
pub fp16_tflops: Option<f32>,
pub fp8_tflops: Option<f32>,
pub mem_bandwidth_gbs: Option<f32>,
}Expand description
Aggregated capability description that wraps flags + tier + numeric extras.
Fields§
§flags: CapabilityFlags§tier: ComputeTier§fp16_tflops: Option<f32>Peak FP16 TFLOPS, vendor-published. None if unknown.
fp8_tflops: Option<f32>Peak FP8 TFLOPS, vendor-published.
mem_bandwidth_gbs: Option<f32>HBM/GDDR bandwidth in GB/s.
Trait Implementations§
Source§impl Clone for Capability
impl Clone for Capability
Source§fn clone(&self) -> Capability
fn clone(&self) -> Capability
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Capability
Source§impl Debug for Capability
impl Debug for Capability
Source§impl<'de> Deserialize<'de> for Capability
impl<'de> Deserialize<'de> for Capability
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Capability
impl RefUnwindSafe for Capability
impl Send for Capability
impl Sync for Capability
impl Unpin for Capability
impl UnsafeUnpin for Capability
impl UnwindSafe for Capability
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