arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.20099cs.AR
收藏

数据中心 FPGA 堆栈中的 FastFlow

FastFlow in FPGA Stacks of Data Centers

Rourab Paul, Alberto Ottimo, Marco Danelutto

AI总结:

针对数据中心 FPGA 堆栈并行编程复杂的问题,本文扩展 FastFlow 并结合 Vitis,通过 csv 参数自动生成主机端代码,显著提升可扩展性并减少 96% 编码工作量。

摘要:

与中央处理器(CPU)和图形处理器(GPU)相比,FPGA 编程更为复杂。由于硬件描述语言(HDL)繁琐且复杂,面向 FPGA 平台、用于在高层次综合(HLS)中定义寄存器传输级(RTL)抽象的编程语言应运而生。当 FPGA 被用于数据中心多核平台中的高性能并行程序时,HDL 和高层次综合(HLS)会变得复杂。编写高效的主机端并行程序以控制放置在 FPGA 堆栈中的硬件内核,既具有挑战性又十分费力。由于多核架构缺乏高效的高层并行编程工具,多核并行编程在大众中很不受欢迎。本工作提出了 FastFlow 的一种扩展,使硬件内核中的数据流能够在 FPGA 堆栈中高效执行。在这里,主机端代码由简单的 csv 文件自动生成。程序员只需在这些 csv 文件中指定四个简单参数:FPGA ID、源节点、目的节点以及硬件内核名称。所提出的工具流程将 FastFlow 库与 Vitis 结合使用,为数据中心中的 FPGA 堆栈开发高效且可扩展的并行程序。实现证据表明,与现有 Vitis 解决方案相比,FastFlow 与 Vitis 的集成减少了 96% 的编码工作量(以代码行数衡量)。

英文摘要:

FPGA programming is more complex as compared to Central Processing Units (CPUs) and Graphics Processing Units (GPUs). The coding languages to define the abstraction of Register Transfer Level (RTL) in High Level Synthesis (HLS) for FPGA platforms have emerged due to the laborious complexity of Hardware Description Languages (HDL). The HDL and High Level Synthesis (HLS) became complex when FPGA is adopted in high-performance parallel programs in multicore platforms of data centers. Writing an efficient host-side parallel program to control the hardware kernels placed in stacks of FPGAs is challenging and strenuous. The unavailability of efficient high level parallel programming tools for multi core architectures makes multicore parallel programming very unpopular for the masses. This work proposes an extension of FastFlow where data flows in hardware kernels can be executed efficiently in FPGA stacks. Here host side codes are generated automatically from simple csv files. The programmer needs to specify four simple parameters in these csv file: FPGA IDs, source, destination nodes, hardware kernel names. The proposed tool flow uses FastFlow libraries with Vitis to develop efficient and scalable parallel programs for FPGA stacks in data centers. The evidence from the implementation shows that the integration of FastFlow with Vitis reduces 96 % coding effort (in terms of number of lines) as compared to existing Vitis solutions.

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

↑