pub struct KernelRooflinePoint {
pub arithmetic_intensity: f64,
pub achieved_throughput: f64,
pub peak_throughput: f64,
pub efficiency: f64,
pub bound: Bound,
pub distance_to_ridge: f64,
}Expand description
A kernel’s position on the roofline chart.
Fields§
§arithmetic_intensity: f64FLOPs per byte transferred
achieved_throughput: f64Achieved throughput (FLOP/s)
peak_throughput: f64Roofline ceiling throughput (FLOP/s)
efficiency: f64Achieved / peak percentage
bound: BoundCompute or memory bound classification
distance_to_ridge: f64Ridge point / arithmetic_intensity (>1 = memory-bound)
Trait Implementations§
Source§impl Clone for KernelRooflinePoint
impl Clone for KernelRooflinePoint
Source§fn clone(&self) -> KernelRooflinePoint
fn clone(&self) -> KernelRooflinePoint
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for KernelRooflinePoint
impl Debug for KernelRooflinePoint
Source§impl<'de> Deserialize<'de> for KernelRooflinePoint
impl<'de> Deserialize<'de> for KernelRooflinePoint
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 KernelRooflinePoint
impl RefUnwindSafe for KernelRooflinePoint
impl Send for KernelRooflinePoint
impl Sync for KernelRooflinePoint
impl Unpin for KernelRooflinePoint
impl UnsafeUnpin for KernelRooflinePoint
impl UnwindSafe for KernelRooflinePoint
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,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more