Memory-Aware Functional IR for Higher-Level Synthesis of Accelerators

1Citations
Citations of this article
18Readers
Mendeley users who have this article in their library.

Abstract

Specialized accelerators deliver orders of a magnitude of higher performance than general-purpose processors. The ever-changing nature of modern workloads is pushing the adoption of Field Programmable Gate Arrays (FPGAs) as the substrate of choice. However, FPGAs are hard to program directly using Hardware Description Languages (HDLs). Even modern high-level HDLs, e.g., Spatial and Chisel, still require hardware expertise.This article adopts functional programming concepts to provide a hardware-agnostic higher-level programming abstraction. During synthesis, these abstractions are mechanically lowered into a functional Intermediate Representation (IR) that defines a specific hardware design point. This novel IR expresses different forms of parallelism and standard memory features such as asynchronous off-chip memories or synchronous on-chip buffers. Exposing such features at the IR level is essential for achieving high performance.The viability of this approach is demonstrated on two stencil computations and by exploring the optimization space of matrix-matrix multiplication. Starting from a high-level representation for these algorithms, our compiler produces low-level VHSIC Hardware Description Language (VHDL) code automatically. Several design points are evaluated on an Intel Arria 10 FPGA, demonstrating the ability of the IR to exploit different hardware features. This article also shows that the designs produced are competitive with highly tuned OpenCL implementations and outperform hardware-agnostic OpenCL code.

References Powered by Scopus

Chisel: Constructing hardware in a Scala embedded language

663Citations
N/AReaders
Get full text

LegUp: High-level synthesis for FPGA-based processor/accelerator systems

455Citations
N/AReaders
Get full text

A Survey and Evaluation of FPGA High-Level Synthesis Tools

450Citations
N/AReaders
Get full text

Cited by Powered by Scopus

Let Coarse-Grained Resources Be Shared: Mapping Entire Neural Networks on FPGAs

0Citations
N/AReaders
Get full text

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Cite

CITATION STYLE

APA

Schlaak, C., Juang, T. H., & Dubach, C. (2022). Memory-Aware Functional IR for Higher-Level Synthesis of Accelerators. ACM Transactions on Architecture and Code Optimization, 19(2). https://doi.org/10.1145/3501768

Readers' Seniority

Tooltip

PhD / Post grad / Masters / Doc 2

50%

Professor / Associate Prof. 1

25%

Lecturer / Post doc 1

25%

Readers' Discipline

Tooltip

Computer Science 3

50%

Engineering 2

33%

Environmental Science 1

17%

Save time finding and organizing research with Mendeley

Sign up for free