pub struct AutotuneBound {
pub throughput: f64,
pub threshold: f32,
pub ops_count: usize,
}Expand description
A bound for autotuning a throughput kernel, specifying the key, threshold, and number of operations.
Fields§
§throughput: f64Peak throughput of the reference kernel, in ops (or bytes) per second.
threshold: f32The threshold for this bound, over which the kernel will be considered accurate.
ops_count: usizeThe number of operations the kernel will run.
Trait Implementations§
Source§impl TimeBound for AutotuneBound
impl TimeBound for AutotuneBound
Source§fn time_limit(&self) -> Option<Duration>
fn time_limit(&self) -> Option<Duration>
Returns the time limit for autotune bounds.
Auto Trait Implementations§
impl Freeze for AutotuneBound
impl RefUnwindSafe for AutotuneBound
impl Send for AutotuneBound
impl Sync for AutotuneBound
impl Unpin for AutotuneBound
impl UnsafeUnpin for AutotuneBound
impl UnwindSafe for AutotuneBound
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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