Improving high level synthesis optimization opportunity through polyhedral transformations

Wei Zuo, Yun Liang, Peng Li, Kyle Rupnow, Deming Chen, Jason Cong

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

Abstract

High level synthesis (HLS) is an important enabling technology for the adoption of hardware accelerator technologies. It promises the performance and energy efficiency of hardware designs with a lower barrier to entry in design expertise, and shorter design time. State-of-the-art high level synthesis now includes a wide variety of powerful optimizations that implement efficient hardware. These optimizations can implement some of the most important features generally performed in manual designs including parallel hardware units, pipelining of execution both within a hardware unit and between units, and fine-grained data communication. We may generally classify the optimizations as those that optimize hardware implementation within a code block (intra-block) and those that optimize communication and pipelining between code blocks (inter-block). However, both optimizations are in practice difficult to apply. Real-world applications contain data-dependent blocks of code and communicate through complex data access patterns. Existing high level synthesis tools cannot apply these powerful optimizations unless the code is inherently compatible, severely limiting the optimization opportunity. In this paper we present an integrated framework to model and enable both intra- and inter-block optimizations. This integrated technique substantially improves the opportunity to use the powerful HLS optimizations that implement parallelism, pipelining, and fine-grained communication. Our polyhedral model-based technique systematically defines a set of data access patterns, identifies effective data access patterns, and performs the loop transformations to enable the intra- and inter-block optimizations. Our framework automatically explores transformation options, performs code transformations, and inserts the appropriate HLS directives to implement the HLS optimizations. Furthermore, our framework can automatically generate the optimized communication blocks for fine-grained communication between hardware blocks. Experimental evaluation demonstrates that we can achieve an average of 6.04X speedup over the high level synthesis solution without our transformations to enable intra- and inter-block optimizations.

Original languageEnglish (US)
Title of host publicationFPGA 2013 - Proceedings of the 2013 ACM/SIGDA International Symposium on Field Programmable Gate Arrays
Pages9-18
Number of pages10
DOIs
StatePublished - 2013
Event2013 ACM/SIGDA International Symposium on Field Programmable Gate Arrays, FPGA 2013 - Monterey, CA, United States
Duration: Feb 11 2013Feb 13 2013

Publication series

NameACM/SIGDA International Symposium on Field Programmable Gate Arrays - FPGA

Other

Other2013 ACM/SIGDA International Symposium on Field Programmable Gate Arrays, FPGA 2013
Country/TerritoryUnited States
CityMonterey, CA
Period2/11/132/13/13

Keywords

  • FPGA
  • high level synthesis
  • polyhedral

ASJC Scopus subject areas

  • General Computer Science

Fingerprint

Dive into the research topics of 'Improving high level synthesis optimization opportunity through polyhedral transformations'. Together they form a unique fingerprint.

Cite this