pub struct CalibrationPoint {Show 18 fields
pub id: String,
pub shape: (usize, usize, usize),
pub chip: String,
pub stack: String,
pub program: String,
pub strategy: String,
pub knobs: String,
pub fidelity: Fidelity,
pub fp32: bool,
pub l1acc: bool,
pub exact: bool,
pub plan: PlanDesc,
pub cycles: u64,
pub work: Option<MeasuredWork>,
pub pcc: f64,
pub pcc_floor: f64,
pub reproduce: String,
pub provenance: String,
}Expand description
One ttsim ledger row as a calibration point.
Fields§
§id: String§shape: (usize, usize, usize)§chip: String§stack: String§program: String§strategy: String§knobs: String§fidelity: Fidelity§fp32: bool§l1acc: bool§exact: boolfp32 packing ⇔ the program kept its partials exact.
plan: PlanDesc§cycles: u64§work: Option<MeasuredWork>What the machine actually did, when the row was measured on the instrumented simulator.
★ THIS, NOT cycles, IS WHAT RANKS TWO MEASURED PLANS. cycles is ttsim’s bracket counter and
ttsim_instrument_audit.json shows it is not a function of the program — eight times the
reduction depth moves it 0.08%. A row carries it for provenance; nothing may order plans by it.
pcc: f64§pcc_floor: f64§reproduce: String§provenance: StringTrait Implementations§
Source§impl Clone for CalibrationPoint
impl Clone for CalibrationPoint
Source§fn clone(&self) -> CalibrationPoint
fn clone(&self) -> CalibrationPoint
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 CalibrationPoint
impl Debug for CalibrationPoint
Source§impl<'de> Deserialize<'de> for CalibrationPoint
impl<'de> Deserialize<'de> for CalibrationPoint
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CalibrationPoint
impl PartialEq for CalibrationPoint
Source§impl Serialize for CalibrationPoint
impl Serialize for CalibrationPoint
impl StructuralPartialEq for CalibrationPoint
Auto Trait Implementations§
impl Freeze for CalibrationPoint
impl RefUnwindSafe for CalibrationPoint
impl Send for CalibrationPoint
impl Sync for CalibrationPoint
impl Unpin for CalibrationPoint
impl UnsafeUnpin for CalibrationPoint
impl UnwindSafe for CalibrationPoint
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,
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.