pub struct KernelCharacteristics {
pub optimal_size_range: (usize, usize),
pub memory_pattern: AccessPattern,
pub compute_intensity: f64,
pub parallelization_efficiency: f64,
pub cache_efficiency: f64,
pub memory_bandwidth_utilization: f64,
pub initialization_overhead: Duration,
pub scalability: ScalabilityCharacteristics,
}Expand description
Kernel performance characteristics
Fields§
§optimal_size_range: (usize, usize)Optimal input size range
memory_pattern: AccessPatternMemory access pattern
compute_intensity: f64Compute intensity (operations per byte)
parallelization_efficiency: f64Parallelization efficiency
cache_efficiency: f64Cache efficiency
memory_bandwidth_utilization: f64Memory bandwidth utilization
initialization_overhead: DurationInitialization overhead
scalability: ScalabilityCharacteristicsScalability characteristics
Trait Implementations§
Source§impl Clone for KernelCharacteristics
impl Clone for KernelCharacteristics
Source§fn clone(&self) -> KernelCharacteristics
fn clone(&self) -> KernelCharacteristics
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 KernelCharacteristics
impl RefUnwindSafe for KernelCharacteristics
impl Send for KernelCharacteristics
impl Sync for KernelCharacteristics
impl Unpin for KernelCharacteristics
impl UnsafeUnpin for KernelCharacteristics
impl UnwindSafe for KernelCharacteristics
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