pub struct DecodeChipDesign {
pub node: Node,
pub die_mm2: f64,
pub sram_fraction: f64,
pub tile_bytes: f64,
pub network: OnChipNetwork,
pub hop_cycles: f64,
pub link_modules: u32,
}Expand description
A decode chip design point: the choices, over a node’s facts.
Fields§
§node: Node§die_mm2: f64§sram_fraction: f64The share of the die that is SRAM array.
tile_bytes: f64SRAM per tile, bytes.
network: OnChipNetwork§hop_cycles: f64Cycles one on-chip network hop takes: one is a registered link.
link_modules: u32UCIe modules each chip’s collectives stripe across.
Implementations§
Source§impl DecodeChipDesign
impl DecodeChipDesign
Sourcepub fn at(node: Node, die_mm2: f64) -> DecodeChipDesign
pub fn at(node: Node, die_mm2: f64) -> DecodeChipDesign
A dataflow die at node: half its area SRAM, 256 KiB tiles on a registered reduction tree, sixteen UCIe
modules to its neighbours.
Sourcepub fn link(&self, hop_latency_s: f64) -> Link
pub fn link(&self, hop_latency_s: f64) -> Link
The design’s chip-to-chip link at hop_latency_s.
pub fn sram_bytes(&self) -> f64
pub fn tiles(&self) -> f64
Sourcepub fn stage_hops(&self) -> f64
pub fn stage_hops(&self) -> f64
Hops one dependent stage makes on chip: its vector out to every tile and its partial sums back.
Sourcepub fn stage_latency_s(&self) -> f64
pub fn stage_latency_s(&self) -> f64
Seconds one dependent stage spends on the network.
Trait Implementations§
Source§impl Clone for DecodeChipDesign
impl Clone for DecodeChipDesign
Source§fn clone(&self) -> DecodeChipDesign
fn clone(&self) -> DecodeChipDesign
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 DecodeChipDesign
impl Debug for DecodeChipDesign
Source§impl PartialEq for DecodeChipDesign
impl PartialEq for DecodeChipDesign
Source§impl Serialize for DecodeChipDesign
impl Serialize for DecodeChipDesign
impl StructuralPartialEq for DecodeChipDesign
Auto Trait Implementations§
impl Freeze for DecodeChipDesign
impl RefUnwindSafe for DecodeChipDesign
impl Send for DecodeChipDesign
impl Sync for DecodeChipDesign
impl Unpin for DecodeChipDesign
impl UnsafeUnpin for DecodeChipDesign
impl UnwindSafe for DecodeChipDesign
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.