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

ReDas:一种支持脉动阵列细粒度重构与多数据流的轻量级架构

ReDas: A Lightweight Architecture for Supporting Fine-Grained Reshaping and Multiple Dataflows on Systolic Array

Meng Han, Liang Wang, Limin Xiao, Tianhao Cai, Zeyu Wang, Xiangrong Xu, Chenhao Zhang

AI总结:

针对传统脉动阵列PE利用率低、现有灵活架构重构粒度粗或硬件开销大的问题,提出轻量级可重构脉动阵列ReDas,支持细粒度重构与多数据流,搭配高效映射器实现显著的性能与能效提升。

摘要:

脉动阵列加速器是DNN(深度神经网络)加速的首选架构方案之一。然而,传统脉动架构因固定阵列与多样化DNN工作负载不匹配,存在PE(处理单元)利用率低的问题。近期研究提出了灵活脉动阵列架构以适配DNN模型,但这些设计仅支持粗粒度重构,或会大幅增加硬件开销。\n本研究提出ReDas——一种灵活的轻量级脉动阵列,支持动态细粒度重构与多数据流。首先,ReDas集成了轻量级可重构迂回数据通路,仅利用相邻PE之间的短连接即可实现细粒度重构。其次,我们重新设计了PE微架构,并在阵列周围集成了一组多模式数据缓冲器。PE结构支持额外的数据旁路与灵活的数据切换,同时多模式缓冲器可实现片上存储资源的细粒度重新分配,适配各类数据流需求。对于128×128的阵列,ReDas可动态重构为多达129种不同的逻辑形状与3种数据流。最后,我们提出了一种高效的映射器,可为DNN工作负载的每一层生成合适的配置。\n与传统脉动阵列相比,ReDas可实现约4.6倍的加速比,以及8.3倍的能量延迟积(EDP)降低。

英文摘要:

The systolic accelerator is one of the premier architectural choices for DNN acceleration. However, the conventional systolic architecture suffers from low PE utilization due to the mismatch between the fixed array and diverse DNN workloads. Recent studies have proposed flexible systolic array architectures to adapt to DNN models. However, these designs support only coarse-grained reshaping or significantly increase hardware overhead. In this study, we propose ReDas, a flexible and lightweight systolic array that supports dynamic fine-grained reshaping and multiple dataflows. First, ReDas integrates lightweight and reconfigurable roundabout data paths, which achieve fine-grained reshaping using only short connections between adjacent PEs. Second, we redesign the PE microarchitecture and integrate a set of multi-mode data buffers around the array. The PE structure enables additional data bypassing and flexible data switching. Simultaneously, the multi-mode buffers facilitate fine-grained reallocation of on-chip memory resources, adapting to various dataflow requirements. ReDas can dynamically reconfigure to up to 129 different logical shapes and 3 dataflows for a 128x128 array. Finally, we propose an efficient mapper to generate appropriate configurations for each layer of DNN workloads. Compared to the conventional systolic array, ReDas can achieve about 4.6x speedup and 8.3x energy-delay product (EDP) reduction.

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

↑