mlsanityData to 7 Oct 2026

A Compilation Flow for the Generation of CNN Inference Accelerators on FPGAs

arXiv 2203.04015 ↗First posted 8 Mar 2022cs.DC cs.AR cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

We present a compilation flow for the generation of CNN inference accelerators on FPGAs. The flow translates a frozen model into OpenCL kernels with the TVM compiler and uses the Intel OpenCL SDK to compile to an FPGA bitstream. We improve the quality of the generated hardware with optimizations applied to the base OpenCL kernels generated by TVM. These optimizations increase parallelism, reduce memory access latency, increase concurrency and save on-chip resources. We automate these optimizations in TVM and evaluate them by generating accelerators for LeNet-5, MobileNetV1 and ResNet-34 on an Intel Stratix~10SX. We show that the optimizations improve the performance of the generated accelerators by up to 846X over the base accelerators. The performance of the optimized accelerators is up to 4.57X better than TensorFlow on CPU, 3.83X better than single-threaded TVM and is only 0.34X compared to TVM with 56 threads. Our optimized kernels also outperform ones generated by a similar approach (that also uses high-level synthesis) while providing more functionality and flexibility. However, it underperforms an approach that utilizes hand-optimized designs. Thus, we view our approach as useful in pre-production environments that benefit from increased performance and fast prototyping, realizing the benefits of FPGAs without hardware design expertise.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 7 of its 26 references that are in the map. First posted on arXiv 8 Mar 2022.

Builds on

7 of 26 references.

References · 7

  1. 2017MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applicationscited by 3,827
  2. 2018Toolflows for Mapping Convolutional Neural Networks on FPGAs: A Survey and Future Directionscited by 27
  3. 2018Relay: A New IR for Machine Learning Frameworkscited by 24
  4. 2018DLA: Compiler and FPGA Overlay for Neural Network Inference Accelerationcited by 13
  5. 2016Caffeinated FPGAs: FPGA Framework For Convolutional Neural Networkscited by 8
  6. 2020HPIPE: Heterogeneous Layer-Pipelined and Sparse-Aware CNN Inference for FPGAscited by 6
  7. 2018High Performance Computing with FPGAs and OpenCLcited by 1

Built on by

Not cited yet.