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

GTA:一种具有更高面积效率与数据复用性的新型通用张量加速器

GTA: a new General Tensor Accelerator with Better Area Efficiency and Data Reuse

Chenyang Ai, Lechuan Zhao, Zhijie Huang, Cangyuan Li, Xinan Wang, Ying Wang

AI总结:

本文提出通用张量加速器GTA,通过张量算子分类、脉动阵列架构及数据流-精度-阵列尺寸联合调度,显著提升面积效率、数据复用性与性能。

摘要:

近年来,张量代数在多个领域中得到了广泛应用。张量代数中的每个算子具有不同的计算工作负载和精度要求。然而,当前的通用加速器,如VPU、GPGPU和CGRA,在支持张量算子时能效和面积效率较低。本文对面向张量处理的通用加速器进行了深入探索。首先,我们发现矩阵乘法与精度乘法之间的相似性,并提出了一种对张量算子进行分类的方法。然后,我们实现了这两项发现,并将脉动阵列架构引入通用加速器中。基于此,我们提出了一种新型通用张量加速器(GTA),其具有更高的面积效率和数据复用性。此外,我们构建了一个由数据流、精度和阵列尺寸调整组成的大型硬件调度空间。评估结果表明,与VPU、GPGPU和CGRA相比,GTA分别实现了7.76倍、5.35倍、8.76倍的存储效率提升,以及6.45倍、3.39倍、25.83倍的加速。

英文摘要:

Recently, tensor algebra have witnessed significant applications across various domains. Each operator in tensor algebra features different computational workload and precision. However, current general accelerators, such as VPU, GPGPU, and CGRA, support tensor operators with low energy and area efficiency. This paper conducts an in-depth exploration of general accelerator for tensor processing. First, we find the similarity between matrix multiplication and precision multiplication, and create a method classifying tensor operators. Then, we implement two discoveries and introduce the systolic architecture into general-purpose accelerator. Therefore, we propose a new General Tensor Accelerator (GTA), which has a better area efficiency and data reuse. Furthermore, we create a large hardware scheduling space consisting of dataflow, precision and array resize. Our evaluation results demonstrate that GTA is able to achieves 7.76X, 5.35X, 8.76X memory efficiency and 6.45X, 3.39X, 25.83X speedup over of VPU, GPGPU and CGRA.

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

↑