pub struct GpuTestConfig {
pub atol: f32,
pub rtol: f32,
pub test_sizes: Vec<usize>,
pub benchmark_sizes: Vec<usize>,
pub warmup_iters: usize,
pub bench_iters: usize,
}Expand description
Configuration for GPU tests.
Fields§
§atol: f32Tolerance for floating point comparisons
rtol: f32Relative tolerance
test_sizes: Vec<usize>Test sizes for correctness tests
benchmark_sizes: Vec<usize>Benchmark sizes
warmup_iters: usizeNumber of warmup iterations for benchmarks
bench_iters: usizeNumber of benchmark iterations
Trait Implementations§
Source§impl Clone for GpuTestConfig
impl Clone for GpuTestConfig
Source§fn clone(&self) -> GpuTestConfig
fn clone(&self) -> GpuTestConfig
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 GpuTestConfig
impl Debug for GpuTestConfig
Auto Trait Implementations§
impl Freeze for GpuTestConfig
impl RefUnwindSafe for GpuTestConfig
impl Send for GpuTestConfig
impl Sync for GpuTestConfig
impl Unpin for GpuTestConfig
impl UnsafeUnpin for GpuTestConfig
impl UnwindSafe for GpuTestConfig
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