pub struct Roofline {
pub dram_gbps: f64,
pub bf16_tflops: f64,
pub fp8_tflops: f64,
pub nvfp4_tflops: f64,
pub context_tokens: u64,
}Expand description
2026-09-29: The roofline constants of the hardware.
Fields§
§dram_gbps: f642026-09-29: DRAM bandwidth, GB/s.
bf16_tflops: f642026-09-29: Dense BF16 tensor peak, TFLOPS.
fp8_tflops: f642026-09-29: FP8 tensor peak, TFLOPS.
nvfp4_tflops: f642026-09-29: NVFP4 tensor peak, TFLOPS.
context_tokens: u642026-09-29: KV context each sequence attends over in the estimate.
Trait Implementations§
impl Copy for Roofline
impl StructuralPartialEq for Roofline
Auto Trait Implementations§
impl Freeze for Roofline
impl RefUnwindSafe for Roofline
impl Send for Roofline
impl Sync for Roofline
impl Unpin for Roofline
impl UnwindSafe for Roofline
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