arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2407.12575cs.AR
收藏

Graphitron:一种用于基于FPGA的图处理加速器生成的领域特定语言

Graphitron: A Domain Specific Language for FPGA-based Graph Processing Accelerator Generation

Xinmiao Zhang, Zheng Feng, Shengwen Liang, Xinyu Chen, Cheng Liu, Huawei Li, Xiaowei Li

AI总结:

Graphitron是一种领域特定语言,通过定义顶点和边为原始类型,支持多种图算法,利用独立于算法的硬件优化技术,生成性能相当且灵活性高的FPGA加速器。

摘要:

基于FPGA的图处理加速器,支持广泛的定制化,相比CPU和GPU等通用计算引擎,已展现出显著的能效优势。然而,对于高层应用用户而言,针对具有不同计算模式的多种图处理算法定制加速器仍然具有挑战性且容易出错。为此,已开发出基于模板的方法来自动化图处理加速器的生成。尽管这些框架显著提高了设计生产力,但模板往往导致算法、编程模型和架构紧密耦合,严重限制了目标图处理算法的通用性及其对高层用户的适用性。此外,由于缺乏严格的语法定义,这些框架的局限性通常不明确。为了克服这些挑战,我们引入了Graphitron,一种领域特定语言(DSL),它允许用户为FPGA上的广泛图处理算法生成定制化加速器,而无需涉及底层FPGA设计的复杂性。Graphitron通过将顶点和边定义为原始数据类型,自然促进了使用边中心或顶点中心编程模型描述图算法。Graphitron后端采用一系列硬件优化技术,包括流水线、数据混洗和内存访问优化,这些技术独立于特定算法,支持创建通用的图处理加速器。我们的实验表明,使用Graphitron设计的加速器在性能上与基于模板的设计框架生成的加速器相当。此外,它在算法表达方面表现出卓越的灵活性,并显著提高了加速器设计生产力。

英文摘要:

FPGA-based graph processing accelerators, enabling extensive customization, have demonstrated significant energy efficiency over general computing engines like CPUs and GPUs. Nonetheless, customizing accelerators to diverse graph processing algorithms with distinct computational patterns remains challenging and error-prone for high-level application users. To this end, template-based approaches have been developed to automate the graph processing accelerator generation. Although these frameworks significantly enhance the design productivity, the templates often result in closely coupled algorithms, programming models, and architectures, severely limiting the versatility of the targeted graph processing algorithms and their applicability to high-level users. Furthermore, the limitations of the frameworks are usually ambiguous due to the absence of a rigorous grammar definition. To overcome these challenges, we introduce Graphitron, a domain-specific language (DSL), which allows users to generate customized accelerators for a wide range of graph processing algorithms on FPGAs without engaging with the complexities of low-level FPGA designs. Graphitron, by defining vertices and edges as primitive data types, naturally facilitates the description of graph algorithms using edge-centric or vertex-centric programming models. The Graphitron back-end employs a suite of hardware optimization techniques including pipelining, data shuffling, and memory access optimization that are independent with the specific algorithms, supporting the creation of versatile graph processing accelerators. Our experiments indicate that accelerators crafted using Graphitron achieve comparable performance to that generated with template-based design framework. Moreover, it exhibits exceptional flexibility in algorithm expression and significantly enhance accelerator design productivity.

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

↑