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

晚期突破结果:提升轻量RISC-V核心上的高效双发执行

Late Breaking Results: Boosting Efficient Dual-Issue Execution on Lightweight RISC-V Cores

Integrated Systems Laboratory (IIS) ETH Zurich(苏黎世联邦理工学院集成系统实验室)

Luca Colagrande, Luca Benini

AI总结:

COPIFTv2通过轻量级队列提升轻量RISC-V核心的双发执行效率和可编程性,实现更高的IPC和能效。

摘要:

大规模机器学习加速器依赖大量的处理元件(PEs),这对每个PE的面积和能耗预算施加了严格限制。先前的研究表明,有限的双发能力可以有效地集成到一个轻量级的顺序开源RISC-V核心(Snitch)中,通过同时执行整数和浮点指令,实现了几何平均指令每周期(IPC)提升1.6倍和几何平均能效提升1.3倍。不幸的是,这需要一个复杂且容易出错的低级编程模型(COPIFT)。我们引入了COPIFTv2,它通过添加轻量级队列使Snitch能够直接、细粒度地在整数和浮点线程之间进行通信和同步。通过消除COPIFT中的tiling和软件流水步骤,我们能够减少其大部分复杂性和软件开销。结果,COPIFTv2在COPIFT上实现了高达1.49倍的速度提升和1.47倍的能效提升,峰值IPC为1.81。总体而言,COPIFTv2显著提高了轻量核心上双发执行的效率和可编程性。我们的实现是完全开源的,并且可以使用免费软件进行可重复的性能实验。

英文摘要:

Large-scale ML accelerators rely on large numbers of PEs, imposing strict bounds on the area and energy budget of each PE. Prior work demonstrates that limited dual-issue capabilities can be efficiently integrated into a lightweight in-order open-source RISC-V core (Snitch), with a geomean IPC boost of 1.6x and a geomean energy efficiency gain of 1.3x, obtained by concurrently executing integer and FP instructions. Unfortunately, this required a complex and error-prone low level programming model (COPIFT). We introduce COPIFTv2 which augments Snitch with lightweight queues enabling direct, fine-grained communication and synchronization between integer and FP threads. By eliminating the tiling and software pipelining steps of COPIFT, we can remove much of its complexity and software overheads. As a result, COPIFTv2 achieves up to a 1.49x speedup and a 1.47x energy-efficiency gain over COPIFT, and a peak IPC of 1.81. Overall, COPIFTv2 significantly enhances the efficiency and programmability of dual-issue execution on lightweight cores. Our implementation is fully open source and performance experiments are reproducible using free software.

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

↑