pub struct NeutralTarget {Show 17 fields
pub name: &'static str,
pub chip: RduChip,
pub part: &'static str,
pub sites: MeshShape,
pub silicon: Option<SiliconSpec>,
pub mem: MemHierarchy,
pub modeled: &'static [&'static str],
pub facts_modeled: Vec<String>,
pub unit_model: RduUnitModel,
pub precisions: NeutralPrecisions,
pub peak_bf16_tflops: u32,
pub peak_fp8_tflops: Option<u32>,
pub node_nm: u32,
pub dies: u32,
pub chips_per_node: usize,
pub scale_up: Option<ScaleUp>,
pub cites: &'static [&'static str],
}Expand description
The target block: the mesh and the published numbers, the unit model with every value’s provenance, and the modeled ledgers — the descriptor’s and the facts’.
Fields§
§name: &'static str§chip: RduChip§part: &'static str§sites: MeshShape§silicon: Option<SiliconSpec>§mem: MemHierarchy§modeled: &'static [&'static str]The descriptor’s modeled fields.
facts_modeled: Vec<String>The facts’ modeled values, by dotted path.
unit_model: RduUnitModel§precisions: NeutralPrecisions§peak_bf16_tflops: u32§peak_fp8_tflops: Option<u32>§node_nm: u32§dies: u32§chips_per_node: usize§scale_up: Option<ScaleUp>§cites: &'static [&'static str]Implementations§
Source§impl NeutralTarget
impl NeutralTarget
pub fn of(target: &SpatialTarget, facts: &RduChipFacts) -> NeutralTarget
Trait Implementations§
Source§impl Clone for NeutralTarget
impl Clone for NeutralTarget
Source§fn clone(&self) -> NeutralTarget
fn clone(&self) -> NeutralTarget
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 NeutralTarget
impl Debug for NeutralTarget
Source§impl PartialEq for NeutralTarget
impl PartialEq for NeutralTarget
Source§impl Serialize for NeutralTarget
impl Serialize for NeutralTarget
impl StructuralPartialEq for NeutralTarget
Auto Trait Implementations§
impl Freeze for NeutralTarget
impl RefUnwindSafe for NeutralTarget
impl Send for NeutralTarget
impl Sync for NeutralTarget
impl Unpin for NeutralTarget
impl UnsafeUnpin for NeutralTarget
impl UnwindSafe for NeutralTarget
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.