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

RISC-V GPGPUs中的解耦控制流与数据访问

Decoupled Control Flow and Data Access in RISC-V GPGPUs

KU Leuven(荷语鲁汶大学);imec(微电子技术研究中心)

Giuseppe M. Sarda, Nimish Shah, Abubakr Nada, Debjyoti Bhattacharjee, Marian Verhelst

AI总结:

本文提出通过硬件控制流管理器和解耦内存流通道改进RISC-V GPGPU性能,实现内存密集型内核的高效执行。

摘要:

Vortex是一种基于RISC-V指令集架构的新提出的开源GPGPU平台,为GPGPU研究提供了有竞争力的替代方案,相较于广泛使用的基于商业GPU的建模平台。与RISC-V运动推动CPU发展的趋势类似,Vortex也能为GPU开启众多新的研究方向。然而,作为一种新兴的硬件平台,Vortex目前在性能上仍无法与商业GPU竞争,这对于广泛采用至关重要。目前最先进的GPU依赖于复杂的架构特性,这些特性在Vortex中仍然不可用,以隐藏与控制流(CF)管理及数据访问内存编排相关的微代码开销。特别是,这些组件在常规的内存密集型内核中占动态指令计数的大多数,如线性代数例程,这些例程构成了许多应用的基础,包括机器学习。为了通过简单的但强大的微架构修改来解决这些挑战,本文通过1.) 一个硬件控制流管理器来加速常规循环执行中的分支和预测,以及2.) 解耦的内存流通道进一步隐藏内存延迟,利用有用的计算。对不同内核的评估结果表明,执行速度提高了8倍,动态指令计数减少了10倍,整体性能从0.35到1.63 GFLOP/s/mm²。得益于这些改进,Vortex可以成为一个理想的平台,为下一代机器学习的GPGPU研究提供理想环境。

英文摘要:

Vortex, a newly proposed open-source GPGPU platform based on the RISC-V ISA, offers a valid alternative for GPGPU research over the broadly-used modeling platforms based on commercial GPUs. Similarly to the push originating from the RISC-V movement for CPUs, Vortex can enable a myriad of fresh research directions for GPUs. However, as a young hardware platform, it currently lacks the performance competitiveness of commercial GPUs, which is crucial for widespread adoption. State-of-the-art GPUs, in fact, rely on complex architectural features, still unavailable in Vortex, to hide the micro-code overheads linked to control flow (CF) management and memory orchestration for data access. In particular, these components account for the majority of the dynamic instruction count in regular, memory-intensive kernels, such as linear algebra routines, which form the basis of many applications, including Machine Learning. To address these challenges with simple yet powerful micro-architecture modifications, this paper introduces decoupled CF and data access through 1.) a hardware CF manager to accelerate branching and predication in regular loop execution and 2.) decoupled memory streaming lanes to further hide memory latency with useful computation. The evaluation results for different kernels show 8$\times$ faster execution, 10$\times$ reduction in dynamic instruction count, and overall performance improvement from 0.35 to 1.63 $\mathrm{GFLOP/s/mm^2}$. Thanks to these enhancements, Vortex can become an ideal playground to enable GPGPU research for the next generation of Machine Learning.

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

↑