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

HEROv2:面向异构计算的全栈开源研究平台

HEROv2: Full-Stack Open-Source Research Platform for Heterogeneous Computing

Andreas Kurth, Björn Forsberg, Luca Benini

摘要:

异构计算机将通用主机处理器与特定于域的加速器集成在一起,以将多功能性与效率和高性能相结合。然而,要实现异构计算机的全部潜力,必须克服许多硬件和软件设计挑战。虽然架构和系统模拟器可以用来分析异构计算机,但它们面临着模拟速度和性能建模精度之间不可避免的妥协。在这项工作中,我们提出了HEROv 2,这是一个基于FPGA的研究平台,可以准确快速地探索由基于32位RISC-V内核集群的加速器和应用级64位ARMv 8或RV 64主机处理器组成的异构计算机。HEROv 2允许在64位主机和32位加速器之间无缝共享数据,并具有完全开源的片上网络,统一的异构编程接口以及基于LLVM的混合数据模型,混合ISA异构编译器。我们在四个案例研究中评估了HEROv 2,从工具链和系统架构的应用程序级别到加速器微架构。我们展示了HEROv 2如何实现异构计算全栈的有效研究和开发。例如,编译器可以平铺循环并推断往返于加速器的数据传输,这导致与原始程序相比加速高达4.4倍,并且在大多数情况下仅比手写实现慢15%,这需要2.6倍的代码。

英文摘要:

Heterogeneous computers integrate general-purpose host processors with domain-specific accelerators to combine versatility with efficiency and high performance. To realize the full potential of heterogeneous computers, however, many hardware and software design challenges have to be overcome. While architectural and system simulators can be used to analyze heterogeneous computers, they are faced with unavoidable compromises between simulation speed and performance modeling accuracy. In this work we present HEROv2, an FPGA-based research platform that enables accurate and fast exploration of heterogeneous computers consisting of accelerators based on clusters of 32-bit RISC-V cores and an application-class 64-bit ARMv8 or RV64 host processor. HEROv2 allows to seamlessly share data between 64-bit hosts and 32-bit accelerators and comes with a fully open-source on-chip network, a unified heterogeneous programming interface, and a mixed-data-model, mixed-ISA heterogeneous compiler based on LLVM. We evaluate HEROv2 in four case studies from the application level over toolchain and system architecture down to accelerator microarchitecture. We demonstrate how HEROv2 enables effective research and development on the full stack of heterogeneous computing. For instance, the compiler can tile loops and infer data transfers to and from the accelerators, which leads to a speedup of up to 4.4x compared to the original program and in most cases is only 15 % slower than a handwritten implementation, which requires 2.6x more code.

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

↑