AI Accelerator Design · All levels
Output-Stationary Dataflow: Theory Deep Dive
Theory Deep Dive for Output-Stationary Dataflow.
Theory deep dive
Theory Deep Dive for Output-Stationary Dataflow is anchored on Partial-sum spill rate and accumulator energy per output element across matrix and convolution workloads.. Convert measurements into mechanism-backed decisions with clear owner accountability.
Use theory to predict engineering outcomes. Tie dataflow, memory hierarchy, and precision choices to measurable throughput, latency, and quality behavior.
Flow model
ACCELERATOR EXECUTION FLOW - Output-Stationary Dataflow
request ingress and model metadata
|
v
graph lowering and kernel selection
|
v
tile/dataflow scheduling and memory placement
|
v
tensor execution + synchronization barriers
|
v
result assembly + quality/SLA validation
|
v
release decision and rollback guardrailsAI accelerator deep dive
Systolic efficiency is governed by feed quality, tile fit, and bubble control.
Concept diagram
SYSTOLIC WAVEFLOW
operand stream -> wavefront launch -> PE mesh compute -> reduction/writeback
^ bubbles and feed stalls reduce realized throughputMetric graph
UTILIZATION LOSSES
tile mismatch ███████
feed stalls █████████
sync bubbles █████Metrics and artifacts to collect
mesh occupancy timeline
fill-drain overhead
tile mismatch histogram
DRAM stall attribution
Mini case study
Increasing mesh size did not help until scheduling and tile alignment removed persistent wavefront bubbles.
Debug branches
Measure bubble source first
Classify compute vs memory starvation
Tune tile policy before frequency changes
Senior review question
Ask: which first-principles bottleneck class explains the symptom, and what artifact proves it reproducibly?
Key takeaways
Tie every accelerator claim to a reproducible workload slice and one primary metric trend.
Prefer bounded fixes with clear owner and rollback boundary over broad tuning bundles.
Common pitfalls
Optimizing synthetic kernels without production-shape validation.
Reading average latency while ignoring p95 and p99 behavior.
Declaring sparse or precision wins without fallback and quality evidence.
Theory reinforcement
Output-Stationary Dataflow should be framed as a full-system behavior, not an isolated kernel trick. Production outcomes are set by model shape mix, compiler choices, runtime queueing policy, memory hierarchy limits, and silicon delivery margins.
Output-stationary dataflow keeps partial sums local in each PE accumulator until an output tile is fully reduced, minimizing partial-sum writeback/readback traffic. Activations and weights move through the array while each PE repeatedly accumulates contributions for its assigned output coordinate, then emits the final result once complete. This can materially reduce memory energy when reduction depth is high, but requires accumulator sizing, precision management, and overflow controls that match workload statistics. If reductions exceed local capacity or pipeline timing is misaligned, frequent spills to buffer hierarchy erase the intended efficiency gains. A useful explanation always ties observed symptom to a repeatable path where useful work was blocked, delayed, or diluted by overhead.
Use Partial-sum spill rate and accumulator energy per output element across matrix and convolution workloads. as an alarm, then anchor action using hard evidence such as Accumulator sizing and spill analysis with precision budget and writeback frequency breakdown..
Systolic performance is primarily a data-delivery and mapping discipline problem. Senior reviews expect a chain of proof: workload intent -> mapping -> hardware behavior -> product impact.
Theory matters only when it predicts measurable behavior under real workload variability.
Translate architecture claims into latency, bandwidth, and power consequences before committing product decisions.