pub struct ScanReport {
pub cpu_walks: usize,
pub gpu_walks: usize,
pub gpu: String,
pub checked: usize,
pub deviation: f64,
pub fallback: Option<String>,
}Expand description
What a scan did.
Fields§
§cpu_walks: usizeWalks run on the CPU and on the GPU.
gpu_walks: usizeWalks run on the GPU (f32), counted even when a fallback recomputed them.
gpu: StringThe GPU, or why it was not used.
checked: usizeReduced-precision walks recomputed in f64, and the largest relative deviation found.
deviation: f64Largest deviation max_h |a_h − b_h| / Σ_h b_h between the half-edge sums a of a checked
walk and b of its f64 recomputation.
fallback: Option<String>Why the f64 CPU recomputed the reduced-precision walks.
Trait Implementations§
Source§impl Clone for ScanReport
impl Clone for ScanReport
Source§fn clone(&self) -> ScanReport
fn clone(&self) -> ScanReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ScanReport
impl Debug for ScanReport
Source§impl Default for ScanReport
impl Default for ScanReport
Source§fn default() -> ScanReport
fn default() -> ScanReport
Returns the “default value” for a type. Read more
Source§impl PartialEq for ScanReport
impl PartialEq for ScanReport
Source§fn eq(&self, other: &ScanReport) -> bool
fn eq(&self, other: &ScanReport) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ScanReport
Auto Trait Implementations§
impl Freeze for ScanReport
impl RefUnwindSafe for ScanReport
impl Send for ScanReport
impl Sync for ScanReport
impl Unpin for ScanReport
impl UnsafeUnpin for ScanReport
impl UnwindSafe for ScanReport
Blanket Implementations§
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
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,
impl<T, U> Imply<T> for U
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