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

在共享L1内存的众核集群中实现高效的混合脉动计算

Enabling Efficient Hybrid Systolic Computation in Shared L1-Memory Manycore Clusters

Sergio Mazzola, Samuel Riedel, Luca Benini

AI总结:

本研究提出在共享L1内存众核集群中利用RISC-V核心与Xqueue、QLRs两种ISA扩展构建混合脉动架构,在面积仅增6%下使计算利用率翻倍至73%,能效提升65%。

摘要:

脉动阵列和共享L1内存的众核集群是常用的架构范式,它们在加速并行工作负载时提供了不同的权衡。前者擅长处理规则的数据流,但代价是架构僵化和编程模型复杂;后者通用性强且易于编程,但需要显式的数据流管理和同步。本研究旨在在共享L1内存的众核集群上实现高效的脉动执行。我们设计了一种灵活的架构,其中小型且节能的 RISC-V 核心作为脉动阵列的处理单元(PEs),并可以通过映射在集群共享内存中的队列形成多样化的、可重构的脉动拓扑。我们引入了两种低开销的 RISC-V ISA 扩展以实现高效的脉动执行,即 Xqueue 和 Queue-linked registers (QLRs),它们支持硬件中的队列管理。Xqueue 扩展支持对共享内存映射队列的单指令访问,而 QLRs 允许对队列进行隐式和自主访问,从而减轻了核心对显式通信指令的负担。我们在 MemPool(一个包含 256 个 PEs 的开源共享内存集群)中演示了 Xqueue 和 QLRs,并在具有不同算术强度的多个 DSP 内核上分析了混合脉动-共享内存架构的权衡。在面积仅增加 6% 的情况下,我们的混合架构可以使 MemPool 的计算单元利用率翻倍,达到 73%。在典型条件(TT/0.80V/25°C)下,采用 22 nm FDX 技术,我们的混合架构以 600 MHz 运行,没有频率下降,并且比共享内存基线的能效高出 65%,实现了高达 208 GOPS/W,其中高达 63% 的功耗消耗在 PEs 中。

英文摘要:

Systolic arrays and shared-L1-memory manycore clusters are commonly used architectural paradigms that offer different trade-offs to accelerate parallel workloads. While the first excel with regular dataflow at the cost of rigid architectures and complex programming models, the second are versatile and easy to program but require explicit dataflow management and synchronization. This work aims at enabling efficient systolic execution on shared-L1-memory manycore clusters. We devise a flexible architecture where small and energy-efficient RISC-V cores act as the systolic array's processing elements (PEs) and can form diverse, reconfigurable systolic topologies through queues mapped in the cluster's shared memory. We introduce two low-overhead RISC-V ISA extensions for efficient systolic execution, namely Xqueue and Queue-linked registers (QLRs), which support queue management in hardware. The Xqueue extension enables single-instruction access to shared-memory-mapped queues, while QLRs allow implicit and autonomous access to them, relieving the cores of explicit communication instructions. We demonstrate Xqueue and QLRs in MemPool, an open-source shared-memory cluster with 256 PEs, and analyze the hybrid systolic-shared-memory architecture's trade-offs on several DSP kernels with diverse arithmetic intensity. For an area increase of just 6%, our hybrid architecture can double MemPool's compute unit utilization, reaching up to 73%. In typical conditions (TT/0.80V/25°C), in a 22 nm FDX technology, our hybrid architecture runs at 600 MHz with no frequency degradation and is up to 65% more energy efficient than the shared-memory baseline, achieving up to 208 GOPS/W, with up to 63% of power spent in the PEs.

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

↑