向量处理器的自适应寄存器堆结构
Adaptable Register File Organization for Vector Processors
摘要:
现代科学应用越来越多样化,这些应用中的矢量长度变化很大。当代向量处理器(VP)被设计用于短向量长度,例如,Fujitsu A64FX支持512位ARM SVE矢量或长矢量,例如,NEC Aurora Tsubasa,最大矢量长度为16Kbits。不幸的是,这两种方法都有缺点。一方面,短向量长度VP设计难以为具有高数据级并行性(DLP)的长向量的应用提供高效率。另一方面,长向量VP设计在执行具有短向量长度的低DLP应用时浪费资源并且未充分利用向量寄存器文件(VRF)。因此,这些长向量VP实现仅限于特定的应用程序子集,其中必须存在相对较高的DLP才能以高效率实现出色的性能。为了克服这些限制,我们提出了一个自适应向量架构(AVA),导致拥有最好的两个世界。AVA设计用于短载体(MVL=16个元件),因此具有面积和能源效率。然而,AVA具有重新配置MVL的功能,从而允许在存在大量DLP时利用具有更长矢量(多达128个元件)微架构的益处。我们在gem 5模拟器上对AVA进行建模,并使用来自RiVEC Benchmark Suite的六个应用程序评估性能。为了获得面积和功耗指标,我们在McPAT上对22 nm技术的AVA进行建模。我们的研究结果表明,通过重新配置我们的小VRF(8KB)加上我们的新的问题队列方案,AVA产生了2倍的速度比默认配置的短向量。此外,与长矢量VP相比,AVA显示出具有竞争力的性能,同时节省了50%的面积。
英文摘要:
Modern scientific applications are getting more diverse, and the vector lengths in those applications vary widely. Contemporary Vector Processors (VPs) are designed either for short vector lengths, e.g., Fujitsu A64FX with 512-bit ARM SVE vector support, or long vectors, e.g., NEC Aurora Tsubasa with 16Kbits Maximum Vector Length (MVL). Unfortunately, both approaches have drawbacks. On the one hand, short vector length VP designs struggle to provide high efficiency for applications featuring long vectors with high Data Level Parallelism (DLP). On the other hand, long vector VP designs waste resources and underutilize the Vector Register File (VRF) when executing low DLP applications with short vector lengths. Therefore, those long vector VP implementations are limited to a specialized subset of applications, where relatively high DLP must be present to achieve excellent performance with high efficiency. To overcome these limitations, we propose an Adaptable Vector Architecture (AVA) that leads to having the best of both worlds. AVA is designed for short vectors (MVL=16 elements) and is thus area and energy-efficient. However, AVA has the functionality to reconfigure the MVL, thereby allowing to exploit the benefits of having a longer vector (up to 128 elements) microarchitecture when abundant DLP is present. We model AVA on the gem5 simulator and evaluate the performance with six applications taken from the RiVEC Benchmark Suite. To obtain area and power consumption metrics, we model AVA on McPAT for 22nm technology. Our results show that by reconfiguring our small VRF (8KB) plus our novel issue queue scheme, AVA yields a 2X speedup over the default configuration for short vectors. Additionally, AVA shows competitive performance when compared to a long vector VP, while saving 50% of area.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。