Elamur Research

Gemmini: Enabling Systematic Deep-Learning Architecture Evaluation via Full-Stack Integration

Paper · 2021 · Hasan Genc, Seah Kim, Alon Amid et al.

Summary

Gemmini investigates how to design an accelerator when its surrounding computer also determines the result. Specialized arithmetic hardware can execute neural-network operations rapidly, yet an application still depends on input preparation, memory transfers, processor activity, and operating-system services. Studying the arithmetic hardware separately can conceal these costs. The authors introduce an open-source generator that makes accelerator architecture, supporting software, and the containing system available within a connected experimental process. The research question concerns the application’s progress through that entire arrangement.

The generator supplies an adjustable spatial array: many arithmetic elements arranged to exchange operands and intermediate results with nearby elements. Designers can change its pipeline organization, numerical representation, dataflow, and local storage. Optional circuits handle supporting operations, including input rearrangement for convolution. Software can either translate an ONNX network description into an executable or expose accelerator operations through C/C++ interfaces. Integration through Chipyard connects the hardware to RISC-V processors and a system capable of running Linux. Together, these facilities let researchers investigate whether an accelerator improvement survives the costs and interference of realistic execution.

The performance evaluation uses FireSim to simulate complete systems with cycle-exact timing while they run Linux. Physical implementation is investigated separately through commercial synthesis and layout tools. For ResNet50, an accelerator equipped with on-the-fly im2col reaches 22.8 frames per second at 1 GHz with Rocket as its host. Its reported acceleration is 2,670x relative to Rocket execution and 1,130x relative to BOOM execution. AlexNet reaches 79.3 frames per second. MobileNetV2 reaches 18.7 frames per second at 1GHz, with a 127x gain against Rocket; the authors explain its less favorable mapping through the limited operand reuse of depthwise convolution. BERT obtains a 144x improvement against Rocket. The authors also report fabrication in TSMC 16nm and Intel 22nm technologies, supporting the practical realizability of generated hardware.

The system studies explain why architectural decisions cannot be made from arithmetic throughput alone. When the CPU performs im2col, BOOM improves CNN performance by 2.0x; accelerator-side im2col makes host choice substantially less consequential. In address translation, separate registers remembering recent read and write translations allow a 4-entry private TLB, without a shared translation cache, to finish only 2% below the highest measured performance. Memory placement likewise depends on concurrency: for the dual-core ResNet50 experiment, expanding shared cache produces an 8.0% overall improvement, whereas expanding accelerator-private storage produces 4.2%. These findings establish Gemmini’s central contribution: an infrastructure for finding system-dependent tradeoffs, instead of a claim that a particular accelerator configuration is best everywhere.

Interesting ideas

Measure the surrounding work. An operation becomes useful only after its inputs are ready and its output reaches a consumer. Gemmini includes preparation, coordination, translation, and shared-resource behavior in the experimental boundary. This makes hidden dependencies observable and prevents a local improvement from standing in for application improvement. The approach transfers to evaluation and benchmarks for database engines, language-processing pipelines, and specialized software services, where conversion or dispatch can consume much of the expected saving.

Let configuration travel with capability. Generated software receives the architectural information needed to use each accelerator instance. Accordingly, a changed memory capacity or optional operation can influence software decisions without relying on an unrelated description maintained elsewhere. The reusable principle is that a configurable component should expose its actual limits and supported behavior to its callers. It applies to storage formats, execution backends, and libraries whose valid or efficient operations depend on configuration.

Offer convenience alongside intervention. Automatic network mapping makes a complete application accessible, while lower-level interfaces allow researchers to alter tiling and operation placement. These entry points support different questions: whether something works, and why it behaves as observed. Keeping them connected makes a convenient baseline available without closing off precise investigation. Similar arrangements help interpreters, compilers, and analytical systems whose ordinary users and systems researchers need different amounts of control.

Optimize the frequent successful path. The translation study finds useful work remaining after the miss rate is already modest. A successful lookup still costs time, so remembering the most recent suitable translation can be more valuable than adding distant cache capacity. This idea applies wherever a repeated successful check remains on the critical path. Its justification must come from observed locality and measured saved work, rather than from an assumption that caching is automatically beneficial.

Place storage according to reuse distance and interference. Immediate reuse inside a kernel differs from retaining a value until a later operation consumes it. Gemmini’s memory study makes that distinction visible, then shows how competing workloads alter the preferred allocation. The transferable question is what each stored value must survive before reuse. Buffer management, graph processing, and document analysis can benefit from examining lifetime and competition before expanding a particular storage pool.

Treat realistic execution as a correctness experiment. Linux introduces scheduling and protection conditions that a simplified execution environment may omit. In the authors’ experience, these conditions expose both a timing-sensitive deadlock and improper memory access. Integration testing therefore contributes more than a realistic stopwatch: it challenges assumptions about ordering, ownership, and access. The lesson extends to concurrent workers and persistent services, where correct isolated operations can still interact incorrectly.

Compare designs through a common experimental scaffold. Gemmini can express contrasting spatial organizations while preserving a shared generation and implementation process. This makes architectural differences easier to investigate without confusing them with unrelated infrastructure changes. The same principle is useful when comparing parsers, storage strategies, or routing policies. A common scaffold does not remove every confound, but it makes the changed mechanism and the conditions surrounding it easier to identify.

Deep dive: Gemmini: Enabling Systematic Deep-Learning Architecture Evaluation via Full-Stack Integration

Gemmini joins configurable neural accelerators, software, and complete chips to study how processors, translation, and memory shape performance. · about 39 minutes to read

How Mova uses it

Mova is a transparent language system written in Rust. Its native language core uses explicit structure, rules, learned parameters, and graph knowledge; the surrounding system adds bounded execution and evidence-retaining tools. Gemmini contributes engineering ideas for those boundaries. There is no evidence here that Mova uses Gemmini hardware or has adopted its software flow. The status marks below describe proposed correspondences with documented Mova mechanisms. They do not establish that Gemmini caused an implementation, or that a proposed transfer has produced a measured benefit.

Idea: Measure complete language-processing requests. Where: Introduction; Gemmini Evaluation, Evaluation Methodology. Area: evaluation. Mova: частково є (README.md; docs/architecture.md; tools/dictindex/README.md). Mova already reports application-level assessments and distinguishes some timing scopes, including dictionary queries whose measurements exclude process startup. A useful extension would connect parsing, frame extraction, world updates, storage access, and result delivery within an explicitly named request boundary. Separate stage measurements could explain the result, while the complete request determines whether an optimization helps users. Why Mova: a faster internal operation can otherwise obscure unchanged or slower completion of the language task.

Idea: Carry implementation capabilities into callers. Where: Gemmini Generator, Programming Support. Area: software contracts. Mova: частково є (docs/gpu-exec.md as described in README.md; docs/hybrid-system.md). Mova distinguishes CPU and GPU execution and admits configured operations through explicit interfaces. Gemmini suggests deriving a consumable capability description from the actual executable configuration, including supported stages, exactness status, and resource restrictions. Whether Mova already generates such a description is unknown. Why Mova: callers could choose a supported execution path using the implementation’s declared properties, reducing discrepancies between configuration assumptions and available behavior.

Idea: Preserve both ordinary execution and precise intervention. Where: Gemmini Generator, Programming Support. Area: interfaces and diagnosis. Mova: вже є (README.md; docs/architecture.md). Mova exposes convenient task commands alongside more specific parsing, reading, tracing, and diagnostic operations. Gemmini reinforces the value of maintaining this relationship as functionality grows. A complete request should remain approachable, while investigators retain access to the decisions that influence it. The transferable proposal is to keep diagnostic access aligned with the same underlying implementation, so that an inspected stage explains the behavior of the ordinary path rather than a separate demonstration.

Idea: Investigate the cost of successful repeated lookups. Where: Gemmini Case Studies, Virtual Address Translation. Area: performance analysis. Mova: нове. A proposed study could profile repeated concept, lemma, or dictionary-credit lookups and determine whether a small recent-result mechanism removes meaningful work. The corresponding software lookup behavior is not documented in the digest, so novelty remains provisional. Any cache would need keys that respect source versions and execution context. Why Mova: Gemmini shows that an already successful lookup can still be expensive enough to justify a small optimization, but Mova would first need evidence of the same pattern.

Idea: Allocate memory by the lifetime of useful information. Where: Gemmini Case Studies, System-Level Resource Partition. Area: storage and data processing. Mova: частково є (docs/architecture.md; tools/dictindex/README.md; world/src/knowledge/retention/mice.rs). Mova already separates compiled knowledge, working graphs, durable storage, and compressed index records. The proposed transfer is a measurement of when information is reused: within a sentence, across a document, or after intervening worker activity. Why Mova: capacity placed near immediate processing may not protect evidence that a later reasoning or review step still needs.

Idea: Test concurrent execution before selecting a resource policy. Where: Gemmini Case Studies, System-Level Resource Partition. Area: concurrency and evaluation. Mova: частково є (world/src/knowledge/retention/mice.rs; tools/dictindex/README.md). Mova has threaded specialists and transactional storage with distinct corpus and label activity. Gemmini motivates comparing an optimization under isolated work and intended concurrent work, with the same task and evidence. The digest does not establish a general concurrency benchmark for these components. Why Mova: simultaneous readers, imports, or specialists may change which cache or memory allocation benefits complete tasks.

Idea: Use integration conditions to challenge correctness assumptions. Where: Gemmini Generator, System Support. Area: correctness. Mova: частково є (docs/hybrid-system.md; tools/dictindex/README.md). Mova documents explicit failure behavior, durable worker state, and crash-repair considerations for dictionary admission and labels. A broader proposed application would exercise supported workflows under interruptions, permission boundaries, and overlapping activity. Why Mova: successful isolated stages do not demonstrate that their sequencing and persistent effects remain correct when the execution environment changes.

Idea: Compare alternatives within a common scaffold. Where: Gemmini Generator, Architectural Template. Area: experimental design. Mova: вже є (README.md; peta/tools/treeagree/README.md). Mova already compares controlled parser settings, requires repeatable results, and retains common-token parser evidence. Gemmini supports extending that discipline to operational alternatives: hold inputs, source identity, and admission conditions stable while changing a single execution mechanism. This does not mean every existing comparison is free of confounding. It identifies a documented practice worth preserving when architectural choices extend beyond language rules into workers, storage, and backend selection.

Idea: Examine where preparation should occur. Where: Gemmini Evaluation, Performance Results. Area: data processing. Mova: нове. Gemmini’s im2col comparison suggests a bounded experiment on work preparation: identify a repeated conversion, measure its share of request time, and compare performing it near the producer or near the consumer. Possible candidates would have to come from profiling Mova’s actual parsing and storage paths; none is established here as a bottleneck. Why Mova: moving preparation can change the useful balance between a general worker and a specialized operation without changing the operation’s logical result.

Idea: Recalculate work batches from actual constraints. Where: Gemmini Generator, Programming Support, Data Staging and Mapping. Area: scheduling. Mova: частково є (tools/dictindex/README.md; tools/enrich/README.md). Mova already bounds document imports and review packets, while Gemmini selects tiles using both workload dimensions and hardware capacity. A proposed extension would make batch decisions responsive to measured record sizes, retained graph requirements, and configured memory limits. Why Mova: a fixed item count can represent very different amounts of work, so capacity-aware batching may improve utilization while keeping resource bounds explicit.

Idea: Keep a manual override for heuristic decisions. Where: Gemmini Generator, Programming Support, Data Staging and Mapping. Area: diagnosis and scheduling. Mova: частково є (README.md; tools/dictindex/README.md; tools/enrich/README.md). Mova exposes explicit execution choices and bounded command parameters. The analogous extension is to retain a reproducible override whenever an adaptive scheduler chooses batch size, routing, or storage preparation. The evidence does not establish every such control today. Why Mova: an investigator needs to distinguish a weak heuristic from an unsuitable implementation, and a fixed override provides a concrete comparison.

Idea: Separate frequently interacting streams when measurements justify it. Where: Gemmini Case Studies, Virtual Address Translation. Area: concurrency. Mova: частково є (tools/dictindex/README.md). The dictionary index already keeps its label journal apart from corpus backfill so that annotation activity is not monopolized by imports. Gemmini’s independent read and write filters illustrate a related principle: different streams can have useful internal locality while interfering with each other. Why Mova: profiling could identify further cases where a small amount of separation preserves responsiveness, without assuming that every stream needs its own storage machinery.

Idea: Report intermediate statistics together with task outcomes. Where: Gemmini Case Studies, Virtual Address Translation. Area: evaluation. Mova: вже є (README.md; tools/enrich/README.md; tools/dictindex/README.md). Mova already warns that additional frames or changed scores alone do not establish improvement, and its index distinguishes counts, coverage, timing, and result hashes. Gemmini provides a particularly clear example: hit rate and complete inference performance answer related but different questions. Mova should continue reporting the operational outcome beside diagnostic statistics, so that a better internal indicator cannot silently substitute for better answers or faster supported work.

Idea: Distinguish feature support from demonstrated performance. Where: Background and Motivation, DNN Accelerator Generators; Gemmini Evaluation. Area: evidence and reporting. Mova: вже є (README.md; docs/hybrid-system.md). Mova explicitly separates implemented bounded mechanisms from automatic composition as a direction, and it distinguishes exact execution from measured approximation. Gemmini supports the same reporting discipline: configurable arithmetic and dataflow choices do not amount to a benchmark of every choice. For Mova, an available operation, a successful example, and a measured application result should remain separately identified forms of evidence.

Idea: Locate costs outside the visually prominent component. Where: Gemmini Evaluation, Evaluation Methodology. Area: resource accounting. Mova: частково є (tools/dictindex/README.md; docs/architecture.md). Gemmini’s area breakdown directs attention toward storage and the host rather than only the arithmetic array. An analogous Mova profile could account for loaded knowledge, compressed blocks, decoding buffers, document graphs, and coordination state alongside parser computation. Why Mova: optimization priorities should follow measured resource consumption, including structures that support the language core but are less conspicuous in its conceptual pipeline.

Idea: Diagnose the operation mixture before choosing an optimization. Where: Gemmini Evaluation, Performance Results; Gemmini Case Studies, System-Level Resource Partition. Area: workload analysis. Mova: частково є (docs/architecture.md; world/src/knowledge/retention/fastread.rs). Mova has distinct parsing, frame, graph, and answer stages, and the fast reader classifies different causes of misses. A complementary performance analysis could classify requests by their dominant work instead of assigning one optimization to all language tasks. Why Mova: dictionary retrieval, document reading, and exact mathematical reasoning may stress different resources even when they share the same surrounding system.

Idea: Define an economical configuration by measured sufficiency. Where: Gemmini Case Studies, Virtual Address Translation. Area: optimization methodology. Mova: нове. The translation experiment selects a small mechanism that approaches the strongest observed performance instead of maximizing capacity. Mova could similarly compare bounded graph activation, worker count, or cache capacity against an explicitly named reference result. The required tolerances and measurements are unknown. Why Mova: a transparent logical module benefits from economical resource use when the reduced configuration preserves the relevant answer quality and operational behavior.

Idea: Keep a claimed optimum inside its tested domain. Where: Gemmini Case Studies, Virtual Address Translation; System-Level Resource Partition. Area: statistical interpretation. Mova: вже є (README.md; docs/hybrid-system.md; tools/dictindex/README.md). Mova already limits bounded probes, finite correspondences, and measured application entries to their stated scope. Gemmini’s strongest translation setting is strongest among the investigated configurations, and its memory recommendation changes with concurrency. The corresponding Mova practice is to attach a winning rule or resource policy to the input family, configuration, and comparison that justified it, without turning local evidence into a general guarantee.

Idea: Connect scheduling parameters to semantic workload boundaries. Where: Gemmini Generator, Programming Support, Data Staging and Mapping. Area: data processing. Mova: частково є (tools/dictindex/README.md; world/src/knowledge/retention/mice.rs). Gemmini tiles operations while respecting the computation they implement. Mova likewise has meaningful document units and shared document graphs. A proposed scheduling improvement should preserve those units or explicitly retain the state crossing a boundary. Why Mova: dividing work for efficiency can lose narrative continuity or source identity unless the partition carries the information required by later interpretation.

Idea: Compare a simplified environment with realistic execution. Where: Gemmini Generator, System Support. Area: validation. Mova: частково є (README.md; tools/dictindex/README.md; tools/enrich/README.md). Mova uses owned fixtures, deterministic checks, and bounded workflow validation. Gemmini suggests pairing these controlled environments with supported workflows that include persistence, real resource limits, and normal scheduling. Why Mova: a fixture explains a mechanism precisely, while realistic execution can expose assumptions that the fixture intentionally removes. The comparison should preserve the same correctness obligations rather than replacing detailed checks with a successful completion signal.

Idea: Distinguish evidence from different evaluation instruments. Where: Introduction; Gemmini Evaluation, Evaluation Methodology. Area: evidence provenance. Mova: вже є (docs/hybrid-system.md; tools/enrich/README.md). Gemmini’s fabrication claim, simulated application timings, and synthesis measurements establish different properties. Mova already distinguishes tool receipts, reviewed supervision, mathematical proof, and admitted knowledge. The transferable discipline is to retain the instrument and scope of each claim through later reporting. A successful worker invocation cannot establish answer validity, just as physically realizable hardware does not make every simulation result a direct silicon measurement.

Idea: Make functional coverage visible when work falls back. Where: Background and Motivation, DNN Accelerator Generators; Gemmini Generator, Programming Support. Area: operational transparency. Mova: частково є (docs/hybrid-system.md; docs/architecture.md). Mova’s configured planner preserves unsupported or ambiguous requests as failures, and its conductor records escalation rather than making an external call automatically. A complementary performance record could show which admitted stages used the intended execution path and which required a supported alternative. Why Mova: otherwise, successful completion can conceal that the supposedly accelerated or native path handled only a small part of the request.

Idea: Generate related implementation artifacts together. Where: Gemmini Generator, Programming Support. Area: code generation and maintenance. Mova: частково є (README.md; docs/architecture.md). Mova already compiles curated seeds into typed tables and uses build-time checks for declared concepts. Gemmini’s hardware-linked header suggests considering which additional interface descriptions or diagnostics should be emitted from those same declarations. Why Mova: generating related artifacts from one reviewed source can reduce inconsistent copies of a rule’s vocabulary or capabilities, while leaving admission and regression checks responsible for whether the declaration itself is sound.

Idea: Evaluate small targeted mechanisms before enlarging a subsystem. Where: Gemmini Case Studies, Virtual Address Translation. Area: engineering strategy. Mova: нове. The filter-register result motivates a bounded search for repeated avoidable work before increasing caches, worker pools, or active knowledge. This is distinct from assuming that smaller mechanisms are always preferable: the proposed sequence begins with profiling and ends with complete-task measurement. Why Mova: a compact rule or local fast path may be easier to inspect and maintain than a larger resource allocation, provided its applicability condition and fallback behavior remain explicit.

The problem and its context

The application extends beyond the arithmetic

Neural-network execution involves a chain of dependencies. An operation needs operands in an appropriate arrangement, available storage, and a way to move data between locations. A host processor coordinates work and may execute operations unsupported by the accelerator. An operating system manages address spaces and schedules execution. Other components may compete for the same cache or communication path.

An isolated accelerator experiment can remove many of these dependencies. Prepared inputs can arrive without charging their preparation to the application. Memory may appear available without interference. Translation may be omitted or simplified. Such an experiment can still answer a useful question about the component, but it offers weaker evidence about the application that will eventually use it.

Gemmini addresses the difficulty of retaining those dependencies during architectural exploration. The authors want hardware designers to change the accelerator and then observe its consequences inside a functioning system. That includes consequences outside the accelerator: a changed host burden, different cache behavior, or an unexpected interaction with operating-system execution.

The motivation belongs to machine learning workloads that the paper places across vision, translation, and robotic manipulation. Dedicated hardware promises useful performance and energy efficiency, but its design demands substantial effort. A generator reduces repeated implementation work by exposing parameters within a reusable architecture. Gemmini argues that the reusable experimental machinery should extend through software and system integration.

What spatial accelerators contribute

The paper describes earlier accelerator research as exploring different combinations of computational organization, memory hierarchy, and communication. These choices respond to differing applications and deployment constraints. Reusing operands locally can reduce expensive transfers, while a suitable interconnect helps distribute operands and combine results efficiently.

A spatial architecture places many execution elements across a structure so that they can operate in parallel. In a systolic arrangement, values pass through neighboring elements in an organized progression. Vector-style organizations instead group arithmetic into parallel lanes or reduction structures. The authors use TPU and NVDLA as contrasting reference points for these broad organizations.

These are not merely alternative drawings of the same machine. Pipeline boundaries influence achievable frequency. Local grouping affects how much combinational work must complete before a register captures the result. The arrangement also influences where values remain available and how they move between arithmetic elements.

The background discusses additional directions involving sparse computation and computation within memory technologies. Those references establish the breadth of accelerator research instead of a claim that Gemmini evaluates every approach. The paper’s own emphasis is an adjustable spatial template whose behavior can be investigated together with its software and surrounding system.

Why a generator needs more than adjustable hardware

Earlier generator work already sought to make specialized hardware easier to produce. Rather than designing every instance independently, a researcher selects parameters and obtains an implementation. The authors nonetheless identify restrictions in the range of architectures, arithmetic representations, and software interfaces those generators support.

A generator confined to one dataflow cannot easily investigate the value of keeping different operands stationary. A generator confined to fixed-point arithmetic cannot cover the same representation choices as one supporting floating point as well. A template tied to a single spatial organization makes comparisons with a different organization harder to conduct consistently.

The paper also separates application convenience from low-level experimental control. It presents VTA and DNNWeaver as examples serving framework-oriented use, while MAGNet and MAERI illustrate interest in direct interaction with accelerator hardware. Gemmini combines these needs by offering a high-level mapping route and lower-level programming interfaces.

The authors’ most important criticism concerns integration. They describe previous generators as lacking the complete processor, shared-resource, and system-software environment needed for these experiments. Gemmini therefore treats that environment as part of the generated system’s usable research interface, instead of leaving integration as a separate project after accelerator design.

CPU time does not disappear when an accelerator arrives

As background motivation, the authors cite industry studies where CPU execution occupies as much as 77% of application time even with acceleration available. This is a result attributed to earlier investigations, not a measurement from Gemmini’s own network suite. Its role is to challenge the assumption that adding specialized arithmetic makes the host incidental.

Some work remains on a CPU because the accelerator does not support it. Other work exists specifically to connect the application to the accelerator, such as arranging data or handling transfers. These categories can become dominant after the central arithmetic operation becomes fast.

The im2col comparison makes this concern concrete. If convolution inputs must be rearranged by the processor, host capability affects how quickly useful accelerator work can proceed. Adding an accelerator-side mechanism changes that dependency. The experiment consequently concerns both functional coverage and the division of labor.

This framing also explains why a more capable host is not automatically the preferred answer. Additional host capability may compensate for work that could be placed elsewhere. Conversely, adding circuitry to the accelerator may be unnecessary if the host already handles a small supporting task efficiently. The paper’s infrastructure makes such questions measurable without assuming the outcome in advance.

The system must be able to misbehave realistically

Operating-system execution introduces events that do not follow the accelerator designer’s preferred sequence. A context switch can occur while work is outstanding. Address-translation state can change. Access permissions can reject a transaction that a simplified environment permits.

For performance research, these events can expose costs. For correctness research, they can invalidate assumptions about progress and access rights. Gemmini’s Linux integration makes both kinds of evidence available during design exploration.

The authors describe finding a deadlock that depended on unfortunate context-switch timing. They also describe accesses to physical-memory regions without appropriate permission. These examples explain why system integration is part of the scientific contribution: it changes which behaviors an experiment can reveal.

The method, step by step

Gemmini’s method connects architectural choices to executable workloads and implementation evidence. There is no new learning objective, annotated dataset, or training equation at its center. The technical procedure concerns generating hardware, supplying compatible software, assembling a system, and measuring the resulting execution. The paper presents no mathematical formula requiring reproduction; its precise mechanisms are architectural and operational.

Gemmini’s connected design and evaluation process

The steps in order.

Gemmini’s connected design and evaluation processStep 1: Choose arithmetic, array organization, and local storage1. Choose arithmetic, array organization, and local storageStep 2: Generate hardware and matching software parameters2. Generate hardware and matching software parametersStep 3: Map network operations onto supported kernels3. Map network operations onto supported kernelsStep 4: Configure processors, caches, and address translation4. Configure processors, caches, and address translationStep 5: Run applications within Linux using FireSim5. Run applications within Linux using FireSimStep 6: Examine timing and physical implementation tradeoffs6. Examine timing and physical implementation tradeoffsStep 7: Revise the configuration and compare outcomes7. Revise the configuration and compare outcomes

Start with processing elements and local storage

The arithmetic foundation is a processing element, abbreviated PE. Each PE performs a multiply-accumulate operation during a cycle: it multiplies operands and contributes the product to an accumulated value. A spatial collection of these elements allows many contributions to be processed concurrently.

Inputs come from local SRAM arranged in banks. SRAM is the storage technology used for these on-chip memories. Banking divides storage into separately accessible portions, supporting the movement patterns needed to feed the array. Software explicitly manages the scratchpad rather than relying entirely on automatic cache placement.

The accumulator is a separate local storage structure. Its entries have greater bitwidth than the incoming operands, so the representation used for accumulated results differs from the representation used to supply inputs. This distinction matters when accounting for local capacity and for the data that moves into and out of the arithmetic structure.

The architectural template also contains configurable supporting circuits. Pooling and nonlinear activation are examples. ReLU and ReLU6 are the activation functions named by the authors. Matrix-scalar multiplication supplies another supported operation beyond the array’s central multiplication and accumulation.

Supporting operations affect how much of a network remains on the host. Their inclusion is therefore a functional decision with system consequences. Gemmini exposes that decision through configuration instead of assuming that all noncentral operations have negligible cost.

Choose the relationship between tiles and registers

The spatial array has a hierarchy. A tile contains a rectangular arrangement of PEs. Connections inside the tile are combinational, meaning that the signal passes through arithmetic logic without a pipeline register between those neighboring elements.

Tiles then form a larger rectangular structure. Their connections include explicit pipeline registers. A register holds a value at a stage boundary, allowing the next stage to operate during a subsequent cycle. This limits how much combinational work must complete within a clock period.

Moving the boundary between combinational grouping and pipelined communication changes the implementation. More pipeline boundaries can help frequency by shortening arithmetic paths, but registers themselves require area and power. Larger combinational groups reduce some register overhead while increasing the work along an unregistered path.

Gemmini uses this hierarchy to cover both TPU-like systolic arrangements and NVDLA-like vector arrangements. In the latter, combinationally connected arithmetic can form reduction structures. Intermediate organizations are also expressible through the same template.

Connections remain local to adjacent elements or tiles. The flexibility does not come from permitting arbitrary communication everywhere. It comes from selecting the grouping and staging of a spatial architecture whose communication relationships remain explicit.

Select representation and dataflow

Gemmini supports fixed-point and floating-point arithmetic. These choices describe how numerical values are represented and processed. The authors connect this flexibility to the differing requirements associated with inference and training.

That capability should be separated from demonstrated workload coverage. The evaluation reports inference results. Architectural support for a representation does not, on its own, establish the speed, energy cost, or numerical quality of a training procedure using it.

The array also supports weight-stationary and output-stationary dataflows. A stationary value remains available locally while other values move through the computation. Weight-stationary execution retains weights; output-stationary execution retains the accumulating output.

Selecting what remains stationary changes the movement required for other operands. Its usefulness depends on the operation and its mapping. Gemmini permits supported dataflows to be chosen during design, with configuration during execution also available where supported by the instance.

The paper describes this as architectural flexibility. It does not supply a comprehensive experimental ordering of all representation and dataflow combinations. Their availability expands the questions the infrastructure can investigate.

Generate the software-facing description

Kernel software needs to know the hardware it controls. Array dimensions influence how work is divided. Scratchpad capacity influences what fits locally. Optional operations determine whether a task can be executed directly or needs a different path.

Gemmini emits a header containing these architectural properties when an accelerator is generated. The paper names array dimensions, available dataflows, and included computing blocks among its contents. Pooling, transposition, and im2col support are examples of features reflected there.

This generated description connects design-time decisions to runtime behavior. Rather than requiring kernel authors to maintain a disconnected record of each experimental accelerator, the flow supplies the information alongside the hardware instance.

It does not remove the need for software tuning. The authors emphasize that useful kernels must adapt to local memory and other architectural choices. The generated parameters make that adaptation possible and help preserve agreement between the hardware and the assumptions of its software.

Map a network or program kernels directly

The high-level path begins with an ONNX description. Gemmini’s software flow turns that description into a program and maps supported kernels onto the generated accelerator where it can. The intended advantage is that application developers can reach working system execution without specifying every hardware operation themselves.

The lower-level path provides C/C++ APIs. These expose tuned functions for common neural-network work. A systems researcher can use them to control execution more directly or investigate behavior that the automatic route would otherwise decide.

Neither interface replaces the other. Automatic mapping is useful for running complete networks and reaching a baseline quickly. Explicit programming is useful when the research question concerns scheduling, data movement, or a particular hardware capability.

The mapping boundary remains important. Sending supported kernels to an accelerator does not establish that every possible operation has hardware support. The paper’s wider argument explicitly includes the possibility that CPU work survives around accelerated kernels.

Calculate tiles from the layer and the instance

A layer may require more operands and intermediate values than fit in local memory. Tiled execution divides the operation into pieces that can be processed using available storage. Tile size determines the amount of useful work performed between transfers.

Gemmini computes these sizes during execution. Its heuristics consider the layer’s dimensions and parameters of the generated hardware. The stated objective is to make substantial use of scratchpad capacity during each iteration.

These decisions control traffic across DRAM, L2 cache, and accelerator-local storage. A change in tile size therefore affects more than arithmetic scheduling. It changes which data is requested, how often it is moved, and which addresses appear near one another in time.

The software applies tiled execution to operations including convolution, matrix multiplication, and residual addition. Their different characteristics mean that the same capacity can have different value across kernels.

Programmers can override the heuristic through the lower-level API. This preserves an experimental path for testing a chosen tile size or evaluating whether the automatic decision is responsible for observed behavior. The authors describe a practical heuristic, not an optimization proof.

Place im2col on the CPU or accelerator

Im2col rearranges convolution inputs for matrix-oriented computation. Its output arrangement supports the subsequent arithmetic, but preparing that arrangement also costs work. Gemmini makes the placement of this preparation a configurable comparison.

Without the optional unit, the processor performs im2col. The host then participates directly in the computational path feeding convolution. An out-of-order processor can improve complete execution because it performs that remaining work more effectively.

With the unit, rearrangement happens on the fly in the accelerator. This changes the division of responsibility rather than merely increasing the frequency of the same arithmetic array. The host has less preparation to perform.

The experiment asks how much processor complexity is useful under each division. It illustrates accelerator-system co-design because the preferred host cannot be judged independently of the operations the accelerator includes.

Support virtual addresses through translation structures

Virtual memory gives software an address space that must be mapped to physical memory locations. A TLB, or translation lookaside buffer, keeps recently useful mappings so that many requests avoid consulting page tables.

A TLB miss requires additional translation work. A page-table walker, abbreviated PTW, obtains the missing mapping. Successful TLB access is cheaper than a walk, but its own delay can still matter if requests repeatedly traverse it.

Gemmini allows researchers to configure and profile this machinery. The case study supplies a private accelerator TLB and a larger shared TLB associated with L2. A shared PTW serves both CPU and accelerator.

The chosen accelerator targets an edge-oriented setting. Its systolic mesh measures 16 by 16, and its scratchpad has a capacity of 256 KB. The authors vary translation-cache capacities, including a configuration where the shared TLB has no entries.

They then add separate recent-translation registers for reading and writing. A suitable consecutive request can reuse the remembered mapping without making a normal TLB request. Separating reads from writes also reduces the interference that overlapped streams can create.

Assemble processors and shared resources

Chipyard provides the integration environment for connecting Gemmini to RISC-V processors. The host can be a relatively simple in-order design or a more capable out-of-order design. This range supports experiments in which the processor performs substantially different amounts of application work.

The system can contain multiple CPUs and accelerators. Each CPU may issue work to its own accelerator while the wider system shares caches and communication resources. Such a configuration permits contention to arise from actual simultaneous execution.

Designers can adjust bus widths and cache properties. Capacity determines how much information can remain available. Associativity and hierarchy influence placement and competition. These settings affect when accelerator requests can obtain data and whether a later operation finds a value still nearby.

Linux adds the behavior of system software to these hardware interactions. Its scheduling and memory-management activity create situations absent from simpler execution. Gemmini’s method keeps those events within the environment being investigated.

Use complementary evaluation instruments

FireSim supplies the performance environment. It accelerates a cycle-exact system simulation using FPGA resources, allowing the authors to execute Linux and complete neural-network workloads while retaining detailed timing behavior.

Physical implementation uses Cadence Genus for synthesis and Cadence Innovus for placement and routing. The reported process for this evaluation is Intel 22nm FFL. These steps investigate whether an architectural choice has a plausible physical realization and what area or timing consequences it carries.

Fabrication supplies another kind of evidence. The authors report generated accelerators realized in TSMC 16nm and Intel 22nm technologies. This supports realizability, but it is not interchangeable with the simulation methodology used to introduce application performance.

No network-training procedure is proposed as part of this method. There is no new training split, supervision pipeline, or learned objective to reproduce. The experimental inputs are existing network workloads, architectural configurations, software mappings, and system conditions.

Experiments and results

Workloads, baselines, and measurement boundaries

The evaluation covers image-network inference through ResNet50 and AlexNet, as well as SqueezeNet v1.1 and MobileNetV2. BERT provides a language workload. This selection introduces differing operator mixtures instead of repeating the same computational pattern under different names.

The processor comparisons use Rocket and BOOM. Rocket is the lower-power in-order host; BOOM is the higher-performance out-of-order host. Accelerator configurations also differ in whether the CPU or an optional hardware unit performs im2col.

Complete systems run Linux within FireSim’s cycle-exact simulation. Accordingly, the reported application performance includes the interactions represented by that system, instead of timing a matrix operation with prepared inputs in isolation.

The authors also examine physical area and contrasting spatial organizations through commercial implementation tools. Their case studies add measurements of translation locality, translation-cache behavior, layer performance, and shared-cache interference. Each instrument answers a different part of the overall design question.

Reported inference performance

For the configuration with accelerator-side im2col and a Rocket host, ResNet50 reaches 22.8 FPS at 1 GHz. FPS means frames per second and measures completed image inferences per unit time in this setting.

Against CPU-only execution, the ResNet50 result corresponds to a 2,670x gain relative to Rocket and an 1,130x gain relative to BOOM. These comparisons have different reference processors. They should therefore remain named instead of being collapsed into an unspecified CPU speedup.

The paper reports 79.3 FPS for AlexNet. This is another absolute throughput result, but the prose does not separately restate every condition beside that particular number. It should not be supplemented with an inferred configuration beyond the surrounding evaluation description.

SqueezeNet achieves a 1,760x improvement over Rocket. The authors emphasize that this network was designed with efficient CPU execution and constrained memory-bandwidth use in mind. Its result demonstrates that those characteristics do not prevent a substantial gain in the evaluated system.

MobileNetV2 reaches 18.7 FPS at 1GHz and a 127x improvement against Rocket. The authors connect this weaker acceleration to depthwise convolution, whose limited data reuse is less favorable for the spatial architecture.

The BERT result is a 144x improvement over Rocket. It establishes a successful case beyond the image networks, but it does not characterize all language workloads or every application using attention.

These results vary enough to discourage treating the strongest reported acceleration as representative of every network. Their interpretation requires the operation mixture, the host baseline, and the software placement decisions that produced them.

The host comparison reveals preparation costs

When the CPU performs im2col, BOOM yields a 2.0x performance improvement across the CNN workloads. The arithmetic accelerator remains present, yet processor capability substantially affects application progress.

The authors explain this through the preparation burden. A more capable host can complete the work that the less complete accelerator leaves behind. The result is therefore evidence about a dependency between components.

Adding on-the-fly im2col reduces the importance of host choice. The CPU’s remaining contribution becomes less demanding, and a simple Rocket host can support the strong ResNet50 result already described.

The paper’s conclusion is that targeted accelerator functionality can trade against host complexity. It does not supply a complete cost calculation for every possible CPU and optional block, nor does it establish that every preparatory operation deserves dedicated circuitry.

Physical cost is concentrated beyond the array

The reported area breakdown assigns 67.1% to SRAM. The spatial array accounts for 11.3%, while the host CPU accounts for 16.6% in the described breakdown. The authors’ discussion makes storage and the processor significant parts of the implementation budget.

This matters because accelerator diagrams can draw attention towards arithmetic. An optimization aimed only at PEs may address a smaller physical component than storage. Likewise, simplifying the host can have implementation consequences beyond reducing its execution time.

The contrasting spatial designs each use 256 PEs. The TPU-like organization reaches a maximum frequency 2.7x higher than the NVDLA-like organization. Its area is 1.8x as large, and its power is 3.0x as high.

The authors attribute the higher physical cost to pipeline registers. These registers help shorten combinational paths, supporting frequency, while also requiring resources. The result demonstrates a tradeoff rather than a universal architectural ordering.

The paper additionally states that Gemmini performance is comparable with NVDLA under a similar PE configuration. The prose does not provide the detailed commercial-accelerator measurements needed to reconstruct an independent ranking, so the comparison should remain at that stated level.

Translation measurements identify a cheap common path

The address-translation study evaluates an edge-oriented accelerator using ResNet50. Enlarging the private TLB from four entries to 16 improves performance by as much as 11%. By contrast, a shared TLB with 512 entries never improves performance by more than 8%.

Even the smallest private TLB settings maintain a hit rate above 84%. The more revealing locality measurements distinguish the request streams: consecutive reads use the same page in 87% of cases, while consecutive writes do so in 83%.

These observations motivate remembering a recent translation separately for each stream. With filter registers, matching consecutive accesses avoid a regular lookup, producing a TLB hit delay of 0 cycles for that case.

A 4-entry private TLB with those registers, but no shared L2 TLB, performs only 2% below the strongest measured setting. Including filter hits, the private mechanism reaches a 90% hit rate. Further capacity additions improve performance by less than 2% under this arrangement.

The result links an access-pattern observation to a small implementation change and then to complete inference performance. Its force comes from that chain of evidence, rather than from the hit-rate statistic alone.

Memory allocation under concurrent inference

The memory study compares alternative uses of an additional 1 MB of SRAM. In the base system, each core has an accumulator of 256 KB and a scratchpad of 256 KB, while a shared 1 MB L2 cache serves the CPUs and accelerators.

The experiments consider single-core execution and dual-core execution. In the dual-core case, concurrent ResNet50 workloads use separate CPU-accelerator pairs but compete through the shared cache.

Dual-core ResNet50 performance improvement relative to Base

Extra shared-cache capacity gives the stronger whole-workload improvement.

Dual-core ResNet50 performance improvement relative to BaseBigSP: 4.2BigSP4.2BigL2 (this paper): 8.0BigL2 (this paper)8.0
The numbers
System or settingoverall performance improvement %
BigSP4.2
BigL2 (this paper)8.0

Layer behavior explains the application result. Enlarging local storage helps convolution, but residual additions obtain a 22% speedup in the dual-core BigL2 configuration. The authors associate this with retaining inputs that competing activity would otherwise displace.

Across the complete ResNet50 run, BigL2 reduces the L2 miss rate by 7.1%. Its effect therefore extends beyond a local storage metric: the cache change relieves a specific form of contention and improves complete execution.

The preferred allocation differs from the single-core experiment, where the gains from expanded local memory are sufficient to make that choice strongest overall. Concurrency changes the conditions under which the memory budget should be spent.

What the ablations show

The paper’s controlled studies alter architectural mechanisms and system resources rather than remove parts of a learning algorithm. Their value lies in exposing interactions: changing a component can alter which neighboring resource matters most. Several comparisons support this interpretation, but none establishes a universal best configuration.

Common arithmetic capacity does not imply common physical behavior

The spatial comparison holds the PE count at 256. This makes the changed organization more interpretable: the result is not simply caused by giving a design more arithmetic units.

Pipeline placement changes the length of combinational paths. A design with shorter paths can support a higher clock frequency, while additional registers raise area and power. The reported frequency and physical-cost differences are consistent with this mechanism.

The experiment demonstrates why a configurable hierarchy is useful. It lets researchers move between contrasting organizations while retaining a common generation process. That reduces the amount of unrelated implementation work separating the alternatives.

However, maximum frequency is not complete application throughput. The study establishes physical tradeoffs between these organizations, while workload-level consequences also depend on data movement, mapping, and utilization. The paper does not reduce every architectural decision to the frequency comparison.

Host capability depends on accelerator coverage

The im2col experiment changes whether preparation is performed by the processor or included in accelerator functionality. Comparing hosts under both conditions reveals an interaction that would be hidden by evaluating only a single host.

BOOM matters more when preparation remains on the CPU. Its value falls once the accelerator performs the transformation. This supports the explanation that outstanding host computation, rather than an intrinsic requirement for a complex host, drives much of the difference.

The comparison also changes how simplicity should be assessed. Removing a hardware block can simplify the accelerator while increasing the work required elsewhere. Whether the whole system becomes simpler or more efficient requires a system-level accounting.

The authors demonstrate this reasoning with im2col. They do not provide an automatic rule for deciding which future operation should move into hardware. That decision still requires identifying its cost and evaluating the changed division of work.

Private translation capacity matters more than distant capacity

The initial TLB sweep asks where extra translation entries are useful. The private accelerator structure has a stronger influence on end-to-end performance than the larger shared structure.

This result is understandable in a workload with substantial locality. Often useful translations can remain close to the accelerator. Increasing a more distant cache cannot remove every access to the nearer lookup mechanism.

The experiment also shows why miss rate is insufficient as a sole objective. Even when many requests succeed in the private structure, each successful lookup still takes several cycles in the initial design. Capacity and successful-access latency are distinct sources of overhead.

That distinction matters when interpreting hardware counters. A low miss rate can indicate that an expensive miss path is uncommon, while leaving repeated costs on the normal path untouched. The translation study explicitly moves from one question to the other.

Separate filters exploit stream-specific locality

The filter-register change is justified by the measured read and write sequences. Each stream frequently requests the same page on consecutive accesses. A small record of the latest useful mapping can therefore satisfy many requests without a general lookup.

Using separate registers is also meaningful. Reads and writes overlap, and their recent translations can interfere with one another. Independent remembered mappings preserve each stream’s locality rather than forcing both to share the same immediate history.

The resulting small-TLB configuration approaches the strongest observed performance. The mechanism is economical because it targets a frequent condition with a narrow check and a clear fallback.

The study does not show that recent-page filters dominate under arbitrary access patterns. Their benefit depends on the locality the authors measured. The controlled sequence—observe the pattern, introduce a matching mechanism, then time the application—is the more transferable contribution.

Local storage benefits depend on operation type

Convolution responds strongly to larger scratchpad and accumulator memories. Its speedup is 10% in the single-core setting and 8% in the dual-core setting. The authors attribute this response to substantial arithmetic intensity.

Arithmetic intensity concerns how much computation is performed relative to data movement. If data already brought near the array supports considerable work, local capacity can enable productive reuse. More capacity can reduce repeated movement or support a more useful tiling choice.

Matrix multiplication responds less strongly in the studied ResNet50 workload. Enlarging local storage produces a 1% gain with single-core execution and a 3% gain with dual-core execution. The authors explain this through lower arithmetic intensity for these layers in the application.

Residual addition behaves differently again. It has almost no operand reuse within the operation and is limited mainly by memory behavior. Increasing local memory does not speed it up; the authors report a 1%-4% slowdown associated with cache thrashing.

These comparisons establish that “more accelerator memory” is not a single benefit shared equally by all operations. The location and timing of reuse determine whether capacity helps.

Delayed reuse makes shared-cache retention important

A residual input may be produced and then consumed only after intervening layers. Its value lies in surviving that interval. This differs from immediate repeated access within a compute-intensive kernel.

In single-core execution, the extra local memory’s gains for convolution and matrix multiplication outweigh its disadvantages elsewhere. The complete application therefore prefers the enlarged private-storage design in that setting.

Dual-core execution introduces another inference stream competing for shared cache space. The authors explain that each stream can displace an input the other expects to reuse during residual addition. The cost arises from interference across operations and workloads.

Increasing shared cache alleviates this pressure. The stronger residual-addition result is enough to outweigh the advantage that private memory still offers convolution. The winning whole-workload configuration consequently changes.

The analysis connects a memory policy to a specific reuse requirement. It does not merely report that a larger cache helps. It identifies information that must remain available, the activity that threatens it, and the application effect of protecting it.

Layer diagnosis and application measurement answer different questions

Layer-level results explain why a configuration changes behavior. Complete inference determines whether the mixture of those changes is worthwhile. The memory study needs both views.

Looking only at convolution would favor extra local capacity. Looking only at residual addition would emphasize retention and shared-cache pressure. Neither operation alone represents the entire network.

Likewise, a TLB hit rate explains part of translation behavior but cannot replace application timing. A high frequency describes a physical capability but does not reveal all execution delays.

The paper’s studies repeatedly maintain this distinction. Their broader lesson is to preserve diagnostic detail while allowing the final workload outcome to decide the practical comparison.

Limitations

Authors’ qualification: some operations fit the architecture poorly

The authors explicitly identify depthwise convolution as less suitable for their spatial mapping because it offers limited data reuse. MobileNetV2 consequently receives a smaller acceleration than the strongest reported cases.

This qualification matters because functional support and efficient use are different achievements. A network can execute correctly while failing to keep the array productive or to reuse operands as effectively as another workload.

The paper therefore does not support treating its largest speedup as a general property of neural-network acceleration. The operation mixture remains part of the condition under which each result holds.

Authors’ scope: translation is studied for an edge-oriented system

The translation case study deliberately uses a low-power configuration. Its 16-by-16 mesh, 256 KB scratchpad, and shared PTW define the setting in which the small filtered TLB proves sufficient.

The authors’ conclusion concerns near-maximum observed performance in that setting. It should not be expanded into a claim that every accelerator requires only modest translation resources.

As a careful-reader inference, different request patterns or greater outstanding translation demand could change the balance. The paper does not perform the same sweep across every scale and workload.

The comparison with NeuMMU illustrates why scope matters. The background describes that proposal as using 128 PTWs, while another earlier approach uses a more modest hierarchy and the host walker. Gemmini’s experiment supports co-design instead of a context-free rejection of those alternatives.

Careful-reader limit: flexibility exceeds measured coverage

Gemmini exposes a broad configuration space, but the evaluation samples it. Support for multiple arithmetic representations, dataflows, array organizations, and surrounding systems does not mean every combination receives application-level evaluation.

The paper demonstrates that these choices can be generated and that selected comparisons reveal meaningful tradeoffs. It does not present an exhaustive optimization over the entire available space.

The same caution applies to runtime heuristics. Computing tiles from layer dimensions and hardware parameters is practical, but the paper does not prove those choices globally optimal. Manual controls remain available precisely because software decisions can be investigated further.

Careful-reader limit: inference does not establish training behavior

Floating-point support is motivated in part through training-related requirements. The reported workload experiments nonetheless concern inference.

They do not establish training throughput, optimization behavior, or the numerical effects of representation choices during learning. Those questions would require their own workloads and measurements.

The paper also does not supply an accuracy study across its configurable arithmetic representations. Performance and realizability evidence should not silently substitute for evidence about preserved task quality.

Careful-reader limit: evidence comes from different instruments

FireSim supplies complete-system performance measurements through simulation. Commercial tools supply synthesis and layout information. Fabricated instances establish that generated hardware can be physically realized.

These claims reinforce one another, but they are not identical. The paper does not identify every reported FPS result as a direct measurement from fabricated silicon.

Similarly, a relative power comparison between spatial organizations is not a complete application-energy evaluation across the network suite. The paper’s physical evidence supports the particular architectural tradeoffs it reports.

Keeping the instruments distinct improves interpretation. It allows a reader to recognize both the strength of a cycle-exact integrated experiment and the additional evidence required for a specific deployment claim.

Careful-reader limit: memory recommendations depend on the workload

The resource study uses ResNet50 under single-core and dual-core execution. The concurrent setting runs matching inference workloads with separate CPU-accelerator pairs and shared cache.

That experiment is sufficient to demonstrate a changed preferred allocation. It does not characterize a broad mixture of unrelated applications, scheduling patterns, or additional traffic sources.

The extra SRAM budget is also part of the question. The result compares placements of a specified additional capacity within selected systems. It does not derive a universal proportion between cache and scratchpad.

The proper generalization concerns method: concurrency and reuse lifetime can reverse a resource decision. A concrete allocation remains conditional on the workload that must use it.

Careful-reader limit: commercial comparison is not fully reconstructible

The authors report comparability with NVDLA under a similar arithmetic configuration. The detailed prose gives more explicit numbers for CPU comparisons than for this commercial-accelerator comparison.

A reader can therefore report the authors’ conclusion, but cannot reconstruct a comprehensive commercial ranking from those statements alone. Unreported settings, measurements, or differences should not be filled in.

The same restraint applies to parameters absent from the narrative. The paper establishes substantial performance gains for named workloads without providing grounds to infer every missing execution condition.

Careful-reader limit: realistic testing is not a correctness proof

Linux reveals a scheduling-sensitive deadlock and improper memory access during development. These examples demonstrate the value of broadening the test environment.

They do not prove that every generated instance is free from deadlocks or permission errors. Realistic execution exercises conditions that simpler testing misses, but still samples possible behavior.

Automatic software generation has a similar evidential boundary. Producing executable programs and adapting kernels to hardware parameters are capabilities. They do not establish that every supported application receives the best possible mapping.

The paper’s contribution is an improved environment for finding such problems and tradeoffs. It does not eliminate the need for further validation of a chosen system.

What came after

No subsequent citing study is identified for discussion. Accordingly, there is no supported basis for describing a particular successor technique, later result, or measured extension as an outcome of Gemmini.

The earlier infrastructure used by Gemmini should remain distinct from later influence. Chipyard provides system integration, and FireSim supports its performance experiments. Earlier generators and translation proposals supply context and comparison points. Their appearance in the paper does not make them successors.

What Gemmini itself establishes is a research program grounded in connected experiments. Accelerator organization can be studied together with mapping software; translation can be tuned against actual access patterns; memory placement can be judged under competing applications. Its case studies show why these connections change conclusions.

The paper leaves an operational standard for evaluating architectural progress: retain the dependencies that the application will encounter, explain the mechanism behind a gain, and limit the resulting claim to the conditions actually investigated.

Cite

Cite as Hasan Genc, Seah Kim, Alon Amid, Ameer Haj-Ali, Vighnesh Iyer, Pranav Prakash, Jerry Zhao, Daniel Grubb, Harrison Liew, Howard Mao, Albert J. Ou, Colin Schmidt, Samuel Steffl, John Wright, Ion Gabriel Stoica, Jonathan Ragan‐Kelley, Krste Asanović, Borivoje Nikolić and Yakun Sophia Shao. 2021. Gemmini: Enabling Systematic Deep-Learning Architecture Evaluation via Full-Stack Integration. Proceedings - ACM IEEE Design Automation Conference.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.1109/dac18074.2021.9586216 · arXiv 1911.09925

@inproceedings{genc2021gemmini,
  title = {{Gemmini: Enabling Systematic Deep-Learning Architecture Evaluation via Full-Stack Integration}},
  author = {Hasan Genc, Seah Kim, Alon Amid, Ameer Haj-Ali, Vighnesh Iyer, Pranav Prakash, Jerry Zhao, Daniel Grubb, Harrison Liew, Howard Mao, Albert J. Ou, Colin Schmidt, Samuel Steffl, John Wright, Ion Gabriel Stoica, Jonathan Ragan‐Kelley, Krste Asanović, Borivoje Nikolić and Yakun Sophia Shao},
  booktitle = {Proceedings - ACM IEEE Design Automation Conference},
  year = {2021},
  doi = {10.1109/dac18074.2021.9586216},
  eprint = {1911.09925},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.1109/dac18074.2021.9586216}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/genc-2021-gemmini-enabling-systematic-deep-learning/

References

29 references, from the paper's own bibliography.

  1. T. Moreau et al., “VTA: An Open Hardware-Software Stack for Deep Learning,” CoRR, 2018. OpenAlex ↗ · Scholar ↗
  2. R. Venkatesan et al., “MAGNet: A Modular Accelerator Generator for Neural Networks,” in ICCAD, 2019. OpenAlex ↗ · Scholar ↗
  3. J. Cong et al., “PolySA: polyhedral-based systolic array auto-compilation,” in ICCAD, 2018. OpenAlex ↗ · Scholar ↗
  4. X. Zhang et al., “DNNBuilder: An Automated Tool for Building High-performance DNN Hardware Accelerators for FPGAs,” in ICCAD, 2018. OpenAlex ↗ · Scholar ↗
  5. Xuechao Wei et al., “Automated systolic array architecture synthesis for high throughput cnn inference on fpgas,” in DAC, 2017. OpenAlex ↗ · Scholar ↗
  6. Y. Wang et al., “Deepburning: Automatic generation of fpga-based learning accelerators for the neural network family,” in DAC, 2016. OpenAlex ↗ · Scholar ↗
  7. H. Ye et al., “HybridDNN: A framework for high-performance hybrid dnn accelerator design and implementation,” in DAC, 2020. OpenAlex ↗ · Scholar ↗
  8. K. Hazelwood et al., “Applied Machine Learning at Facebook: A Datacenter Infrastructure Perspective,” in HPCA, 2018. OpenAlex ↗ · Scholar ↗
  9. C.-J. Wu et al., “Machine Learning at Facebook: Understanding Inference at the Edge,” in HPCA, 2019. OpenAlex ↗ · Scholar ↗
  10. D. Richins et al., “Missing the Forest for the Trees: End-to-End AI Application Performance in Edge Data Centers,” in HPCA, 2020. OpenAlex ↗ · Scholar ↗
  11. F. Sijstermans, “The NVIDIA Deep Learning Accelerator,” in Hot Chips, 2018. OpenAlex ↗ · Scholar ↗
  12. Y. Chen et al., “Eyeriss v2: A Flexible Accelerator for Emerging Deep Neural Networks on Mobile Devices,” JETCAS, 2019. OpenAlex ↗ · Scholar ↗
  13. Z. Du et al., “ShiDianNao: Shifting vision processing closer to the sensor,” in ISCA, 2015. OpenAlex ↗ · Scholar ↗
  14. S. Venkataramani et al., “ScaleDeep: A Scalable Compute Architecture for Learning and Evaluating Deep Networks,” in ISCA, 2017. OpenAlex ↗ · Scholar ↗
  15. X. Yang et al., “Interstellar: Using Halide’s scheduling language to analyze DNN accelerators,” in ASPLOS, 2020. OpenAlex ↗ · Scholar ↗
  16. H. Kwon et al., “MAERI: Enabling Flexible Dataflow Mapping over DNN Accelerators via Programmable Interconnects,” in ASPLOS, 2018. OpenAlex ↗ · Scholar ↗
  17. J. Fowers et al., “A Configurable Cloud-Scale DNN Processor for Real-Time AI,” in ISCA, 2018. OpenAlex ↗ · Scholar ↗
  18. E. Qin et al., “Sigma: A sparse and irregular gemm accelerator with flexible interconnects for dnn training,” in HPCA, 2020. OpenAlex ↗ · Scholar ↗
  19. X. He et al., “Sparse-TPU: Adapting systolic arrays for sparse matrices,” in ICS, 2020. OpenAlex ↗ · Scholar ↗
  20. P. Dai et al., “SparseTrain: Exploiting dataflow sparsity for efficient convolutional neural networks training,” in DAC, 2020. OpenAlex ↗ · Scholar ↗
  21. L. Song et al., “PipeLayer: A Pipelined ReRAM-Based Accelerator for Deep Learning,” in HPCA, 2017. OpenAlex ↗ · Scholar ↗
  22. H. Kim et al., “Algorithm/hardware co-design for in-memory neural network computing with minimal peripheral circuit overhead,” in DAC, 2020. OpenAlex ↗ · Scholar ↗
  23. H. Sharma et al., “From High-level Deep Neural Models to FPGAs,” in MICRO, 2016. OpenAlex ↗ · Scholar ↗
  24. G. Henry et al., “High-Performance Deep-Learning Coprocessor Integrated into x86 SoC with Server-Class CPUs Industrial Product,” in ISCA, 2020. OpenAlex ↗ · Scholar ↗
  25. D. Lustig et al., “Tlb improvements for chip multiprocessors: Inter-core cooperative prefetchers and shared last-level tlbs,” TACO, 2013. OpenAlex ↗ · Scholar ↗
  26. A. Amid et al., “Chipyard: Integrated Design, Simulation, and Implementation Framework for Custom SoCs,” IEEE Micro, 2020. OpenAlex ↗ · Scholar ↗
  27. S. Karandikar et al., “FireSim: FPGA-Accelerated Cycle-Exact Scale-Out System Simulation in the Public Cloud,” in ISCA, 2018. OpenAlex ↗ · Scholar ↗
  28. B. Hyun et al., “NeuMMU: Architectural Support for Efficient Address Translations in Neural Processing Units,” in ASPLOS, 2020. OpenAlex ↗ · Scholar ↗
  29. Y. Hao et al., “Supporting Address Translation for Accelerator-Centric Architectures,” in HPCA, 2017. OpenAlex ↗ · Scholar ↗