arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2107.09333cs.ARcs.CLcs.PF
收藏

StreamBlocks:一个用于异构并行计算的编译器(技术报告)

StreamBlocks: A compiler for heterogeneous dataflow computing (technical report)

EPFL(洛桑联邦理工学院);Lund University(隆德大学)

Endri Bezati, Mahyar Emami, Jörn Janneck, James Larus

摘要:

为了提高性能和效率,系统使用FPGA作为可重构加速器。设计这些系统的一个关键挑战是在处理器和FPGA之间划分计算。适当的劳动分工可能很难提前预测,需要实验和测量。当一项研究需要用新的语言或新的编程模型重写系统的一部分时,其高昂的成本可能会阻碍对不同配置的研究。具有适当的编程模型和针对两个平台的编译器的单语言系统将这种探索简化为使用新编译器指令的简单重新编译。这项工作介绍了StreamBlocks,一个开源的编译器和运行时,使用CAL的低程序设计语言跨异构(CPU/加速器)平台的分区计算。由于StreamBlocks模型的语义和CAL语言,StreamBlocks可以利用多核CPU中的线程并行性和FPGA的固有并行性。StreamBlocks支持使用配置文件引导工具探索设计空间,帮助识别最佳硬件-软件分区。

英文摘要:

To increase performance and efficiency, systems use FPGAs as reconfigurable accelerators. A key challenge in designing these systems is partitioning computation between processors and an FPGA. An appropriate division of labor may be difficult to predict in advance and require experiments and measurements. When an investigation requires rewriting part of the system in a new language or with a new programming model, its high cost can retard the study of different configurations. A single-language system with an appropriate programming model and compiler that targets both platforms simplifies this exploration to a simple recompile with new compiler directives. This work introduces StreamBlocks, an open-source compiler and runtime that uses the CAL dataflow programming language to partition computations across heterogeneous (CPU/accelerator) platforms. Because of the dataflow model's semantics and the CAL language, StreamBlocks can exploit both thread parallelism in multi-core CPUs and the inherent parallelism of FPGAs. StreamBlocks supports exploring the design space with a profile-guided tool that helps identify the best hardware-software partitions.

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

↑