pub struct CheckResult {
pub name: String,
pub max_abs_err: f32,
pub tolerance: f32,
}Expand description
Result of one kernel compared against a CPU reference.
Fields§
§name: StringWhat was run, e.g. "matmul 37x53 @ 53x29".
max_abs_err: f32Largest absolute difference from the CPU result.
tolerance: f32Largest difference that still counts as a pass.
Implementations§
Trait Implementations§
Source§impl Clone for CheckResult
impl Clone for CheckResult
Source§impl Debug for CheckResult
impl Debug for CheckResult
Source§impl PartialEq for CheckResult
impl PartialEq for CheckResult
impl StructuralPartialEq for CheckResult
Auto Trait Implementations§
impl Freeze for CheckResult
impl RefUnwindSafe for CheckResult
impl Send for CheckResult
impl Sync for CheckResult
impl Unpin for CheckResult
impl UnsafeUnpin for CheckResult
impl UnwindSafe for CheckResult
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