pub struct Report {
pub ran_on: String,
pub calibrations: Vec<(Precision, usize, f64)>,
pub predicted_error: Option<f64>,
pub norm_drift: f64,
pub fallback: Option<(usize, String)>,
pub gpu_steps: usize,
pub cpu_steps: usize,
}Expand description
What a run did.
Fields§
§ran_on: String“CPU”, or the GPU and the precision of its last steps.
calibrations: Vec<(Precision, usize, f64)>Steps of each calibration and the measured distance between GPU and CPU after them.
predicted_error: Option<f64>Error predicted at the last step by the accepted calibration.
norm_drift: f64Largest relative drift of ‖ψ‖² seen at the GPU checkpoints.
fallback: Option<(usize, String)>Step from which the CPU took over, and why.
gpu_steps: usizeSteps run on the GPU after an accepted calibration; a segment refused at its checkpoint counts too, and the CPU redoes it.
cpu_steps: usizeSteps run on the CPU in f64: the calibrations (also run on the GPU) and every step after a fallback.
Trait Implementations§
impl StructuralPartialEq for Report
Auto Trait Implementations§
impl Freeze for Report
impl RefUnwindSafe for Report
impl Send for Report
impl Sync for Report
impl Unpin for Report
impl UnsafeUnpin for Report
impl UnwindSafe for Report
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