pub struct KernelComparison {
pub kernel1: KernelStats,
pub kernel2: KernelStats,
pub speedup: f64,
pub throughput_ratio: f32,
pub flops_ratio: f64,
}
Expand description
Comparison between two kernels
Fields§
§kernel1: KernelStats
§kernel2: KernelStats
§speedup: f64
§throughput_ratio: f32
§flops_ratio: f64
Implementations§
Source§impl KernelComparison
impl KernelComparison
pub fn print_comparison(&self)
Trait Implementations§
Source§impl Clone for KernelComparison
impl Clone for KernelComparison
Source§fn clone(&self) -> KernelComparison
fn clone(&self) -> KernelComparison
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 moreAuto Trait Implementations§
impl Freeze for KernelComparison
impl RefUnwindSafe for KernelComparison
impl Send for KernelComparison
impl Sync for KernelComparison
impl Unpin for KernelComparison
impl UnwindSafe for KernelComparison
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