Home / Glossary / Dataflow Architecture
Dataflow Architecture
A dataflow architecture is a way of organizing a processor so that operations run as soon as their input data is available, instead of following a fixed sequence of instructions.
In more detail
A conventional processor steps through a program one instruction after another, guided by a program counter. In a dataflow design, the computation is described as a graph. Each node is an operation and each edge carries data from one operation to the next. A node fires when all its inputs have arrived.
Because nothing waits for a central sequencer, operations that do not depend on each other naturally run in parallel. Data moves directly from the unit that produces it to the unit that needs it, without repeated trips to and from a shared memory.
Why it matters
Neural networks are already expressed as graphs of operations, so they map naturally onto dataflow hardware. Many AI accelerators use dataflow principles, either with fixed pipelines or with reconfigurable arrays of processing elements that are wired up to match a model’s graph.
The benefits are parallelism and energy efficiency, since little effort is spent on fetching instructions or moving data unnecessarily. The costs are in the software: a compiler must translate each model into a configuration for the hardware, and workloads that do not fit the graph model run poorly.
A systolic array can be seen as a very regular special case of the same idea.