HPVM2FPGA: Enabling True Hardware-Agnostic FPGA Programming

Adel Ejjeh, Leon Medvinsky, Aaron Councilman, Hemang Nehra, Suraj Sharma, Vikram Adve, Luigi Nardi, Eriko Nurvitadhi, Rob A. Rutenbar

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

Current FPGA programming tools require extensive hardware-specific manual code tuning to achieve performance, which is intractable for most software application teams. We present HPVM2FPGA, a novel end-to-end compiler and auto-tuning system that can automatically tune hardware-agnostic programs for FPGAs. HPVM2FPGA uses a hardware-agnostic abstraction of parallelism as an intermediate representation (IR) to represent hardware-agnostic programs. HPVM2FPGA's powerful optimization framework uses sophisticated compiler optimizations and design space exploration (DSE) to automatically tune a hardware-agnostic program for a given FPGA. HPVM2FPGA is able to support software programmers by shifting the burden of performing hardware-specific optimizations to the compiler and DSE. We show that HPVM2FPGA can achieve up to 33×speedup compared to unoptimized baselines and can match the performance of hand-tuned HLS code for three of four benchmarks. We have designed HPVM2FPGA to be a modular and extensible framework, and we expect it to match hand-tuned code for most programs as the system matures with more optimizations. Overall, we believe that it constitutes a solid step closer to fully hardware-agnostic FPGA programming, making it a suitable cornerstone for future FPGA compiler research.

Original languageEnglish (US)
Title of host publicationProceedings - 2022 IEEE 33rd International Conference on Application-Specific Systems, Architectures and Processors, ASAP 2022
EditorsMiquel Pericas, Dionisios N. Pnevmatikatos, Pedro Petersen Moura Trancoso, Ioannis Sourdis
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages1-10
Number of pages10
ISBN (Electronic)9781665483087
DOIs
StatePublished - 2022
Event33rd IEEE International Conference on Application-Specific Systems, Architectures and Processors, ASAP 2022 - Gothenburg, Sweden
Duration: Jul 12 2022Jul 14 2022

Publication series

NameProceedings of the International Conference on Application-Specific Systems, Architectures and Processors
Volume2022-July
ISSN (Print)1063-6862

Conference

Conference33rd IEEE International Conference on Application-Specific Systems, Architectures and Processors, ASAP 2022
Country/TerritorySweden
CityGothenburg
Period7/12/227/14/22

Keywords

  • FPGA
  • High-level synthesis
  • compilers for FPGA
  • hardware-agnostic FPGA programming

ASJC Scopus subject areas

  • Hardware and Architecture
  • Computer Networks and Communications

Fingerprint

Dive into the research topics of 'HPVM2FPGA: Enabling True Hardware-Agnostic FPGA Programming'. Together they form a unique fingerprint.

Cite this