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

Spatzformer:一种面向混合标量-向量工作负载的高效可重构双核RISC-V V集群

Spatzformer: An Efficient Reconfigurable Dual-Core RISC-V V Cluster for Mixed Scalar-Vector Workloads

Matteo Perotti, Michele Raeber, Mattia Sinigaglia, Matheus Cavalcante, Davide Rossi, Luca Benini

AI总结:

Spatzformer提出首个可重构RISC-V V双核集群,通过拆分与合并两种模式协同处理混合标量-向量负载,在几乎不增加面积和能耗的前提下显著加速混合内核与细粒度同步向量内核。

摘要:

多核向量处理器架构在处理计算密集型可向量化任务方面表现出色,但在面对无法向量化的顺序和控制任务时,难以实现最优资源利用率。本文提出了Spatzformer,这是首个可重构的RISC-V V(RVV)架构,基于一个开源的基线双核集群开发而成,该集群由Snitch标量核心和紧凑型Spatz向量单元增强组成。Spatzformer以两种不同模式运行:拆分模式,作为双核向量架构并发处理可向量化任务;合并模式,两个向量单元由单个标量核心驱动,使剩余的标量核心能够处理不可向量化的控制任务。我们在12纳米工艺节点上实现了Spatzformer,并刻画了新增架构可重构性的成本。我们表明,与拆分模式相比,合并模式可将混合标量-向量内核加速高达1.8倍。此外,相对于基线,它将需要细粒度同步的向量内核(如FFT)加速高达20%。可重构特性不会降低架构的最大频率(1.2GHz,TT,0.8V,25°C),且面积影响可忽略不计(+1.4%),相对于不可重构基线,最坏情况下的能效下降仅为7%。

英文摘要:

Multi-core vector processor architectures excel in handling computationally intensive vectorizable tasks but struggle to achieve optimal resource utilization when facing sequential and control tasks that cannot be vectorized. This work presents Spatzformer, the first reconfigurable RISC-V V (RVV) architecture developed from a baseline open-source dual-core cluster based on Snitch scalar cores augmented with compact Spatz vector units. Spatzformer operates in two distinct modes: split mode, working as a dual-core vector architecture to handle vectorizable tasks concurrently, and merge mode, where two vector units are driven by a single scalar core, allowing the remaining scalar core to handle non-vectorizable control tasks. We implement Spatzformer in a 12-nm technology node and characterize the cost of the added architectural reconfigurability. We show that merge mode accelerates mixed scalar-vector kernels by up to 1.8x compared to split mode. Moreover, it accelerates the vector kernels that require fine-grained synchronization (such as FFT) by up to 20% with respect to the baseline. The reconfigurability features do not degrade the architecture's maximum frequency (1.2GHz, TT, 0.8V, 25C) and have a negligible area impact (+1.4%), with a worst-case energy efficiency drop of only 7% with respect to the non-reconfigurable baseline.

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

↑