Skip to main content

WorkloadRow

Struct WorkloadRow 

Source
pub struct WorkloadRow {
Show 42 fields pub name: String, pub kind: String, pub target: String, pub provenance: String, pub par: usize, pub par_capacity: usize, pub router: String, pub stages: Vec<StageRow>, pub pipeline_ii: usize, pub critical_stage: String, pub buffers: Vec<BufferRow>, pub pcu_used: usize, pub pcu_total: usize, pub pcu_utilization_pct: f64, pub pmu_used: usize, pub pmu_total: usize, pub pmu_utilization_pct: f64, pub fu_utilization_pct: f64, pub ag_stages: usize, pub total_hops: usize, pub max_hops: usize, pub max_link_occupancy: usize, pub vector_links: usize, pub routed_statically: bool, pub iterations: usize, pub fill_cycles: usize, pub compute_cycles: usize, pub operand_stall_cycles: usize, pub dram_bytes: usize, pub dram_cycles: usize, pub modeled_cycles: usize, pub bound: String, pub throughput_iters_per_cycle: f64, pub gflops: Option<f64>, pub pct_of_peak_fp32: Option<f64>, pub operands: Option<Vec<OperandRow>>, pub channels: Vec<ChannelRow>, pub control: Option<ControlRow>, pub certificate: Option<CertificateRow>, pub certificate_omitted: Option<String>, pub vm_anchor: Option<VmAnchor>, pub gemm: Option<GemmRow>,
}
Expand description

One (workload, target) row of the report.

Fields§

§name: String§kind: String

counted_loop or gemm.

§target: String§provenance: String§par: usize

Unrolled instances placed (a counted loop’s recurrence forbids unrolling: 1).

§par_capacity: usize

The widest unroll the mesh’s PCU/PMU capacity allows — par is at most this; when it is less, the static vector network, not capacity, bounded the unroll.

§router: String

The private place-and-route engine’s rung that produced the routes (pnr-negotiated, pnr-exact), or why none did.

§stages: Vec<StageRow>§pipeline_ii: usize§critical_stage: String§buffers: Vec<BufferRow>§pcu_used: usize§pcu_total: usize§pcu_utilization_pct: f64§pmu_used: usize§pmu_total: usize§pmu_utilization_pct: f64§fu_utilization_pct: f64§ag_stages: usize

Address-generator stages across every unrolled instance.

§total_hops: usize§max_hops: usize§max_link_occupancy: usize§vector_links: usize§routed_statically: bool§iterations: usize

Iterations one unrolled instance runs.

§fill_cycles: usize§compute_cycles: usize§operand_stall_cycles: usize

Cycles the MAC waits for operands on top of compute_cycles: a K-chunked reduction’s first chunk loads before any compute starts, and a chunk whose load outlasts its compute stalls for the difference.

§dram_bytes: usize§dram_cycles: usize§modeled_cycles: usize§bound: String

compute or dram.

§throughput_iters_per_cycle: f64§gflops: Option<f64>§pct_of_peak_fp32: Option<f64>§operands: Option<Vec<OperandRow>>

Per operand: how the compiler decided to feed the unrolled instances, and what it cost.

§channels: Vec<ChannelRow>

The synthesized control plane: one entry per inter-stage channel.

§control: Option<ControlRow>

The control nets those channels need, and whether they route.

§certificate: Option<CertificateRow>§certificate_omitted: Option<String>§vm_anchor: Option<VmAnchor>§gemm: Option<GemmRow>

Trait Implementations§

Source§

impl Clone for WorkloadRow

Source§

fn clone(&self) -> WorkloadRow

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for WorkloadRow

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for WorkloadRow

Source§

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 WorkloadRow

Source§

fn eq(&self, other: &WorkloadRow) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for WorkloadRow

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for WorkloadRow

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
§

impl<T> Downcast for T
where T: 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>

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)

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)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for T
where T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,