arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2209.02663cs.ARcs.DCcs.PFcs.PL
收藏

TAPA:面向现代FPGA的可扩展任务并行数据流编程框架及HLS与物理设计协同优化

TAPA: A Scalable Task-Parallel Dataflow Programming Framework for Modern FPGAs with Co-Optimization of HLS and Physical Design

Licheng Guo, Yuze Chi, Jason Lau, Linghao Song, Xingyu Tian, Moazin Khatti, Weikang Qiao, Jie Wang, Ecenur Ustun, Zhenman Fang, Zhiru Zhang, Jason Cong

AI总结:

本文提出TAPA端到端框架,通过提供便捷API表达任务间通信、在HLS中引入粗粒度布图规划及HBM优化技术,将C++数据流程序编译为高频FPGA加速器,在43个设计中将平均频率提升102%且无吞吐量损失。

摘要:

本文提出TAPA,一个将C++任务并行数据流程序编译为高频FPGA加速器的端到端框架。与现有方案相比,TAPA有两大优势:首先,TAPA提供一组便捷的API,允许用户轻松表达灵活且复杂的任务间通信结构;其次,TAPA在HLS编译期间采用粗粒度布图规划步骤,实现对潜在关键路径的精确流水线化。此外,TAPA实现了多项专为现代基于HBM的FPGA定制的优化技术。在共43个设计的实验中,我们将平均频率从147 MHz提升至297 MHz(提升102%),且无吞吐量损失,资源利用率变化微乎其微。值得注意的是,在16个实验中,我们使原本无法布线的设计平均达到274 MHz。

英文摘要:

In this paper, we propose TAPA, an end-to-end framework that compiles a C++ task-parallel dataflow program into a high-frequency FPGA accelerator. Compared to existing solutions, TAPA has two major advantages. First, TAPA provides a set of convenient APIs that allow users to easily express flexible and complex inter-task communication structures. Second, TAPA adopts a coarse-grained floorplanning step during HLS compilation for accurate pipelining of potential critical paths. In addition, TAPA implements several optimization techniques specifically tailored for modern HBM-based FPGAs. In our experiments with a total of 43 designs, we improve the average frequency from 147 MHz to 297 MHz (a 102% improvement) with no loss of throughput and a negligible change in resource utilization. Notably, in 16 experiments we make the originally unroutable designs achieve 274 MHz on average. The framework is available at https://github.com/UCLA-VAST/tapa and the core floorplan module is available at https://github.com/UCLA-VAST/AutoBridge.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑