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

AutoMM:异构可编程片上系统上的高能效多数据类型矩阵乘法设计

AutoMM: Energy-Efficient Multi-Data-Type Matrix Multiply Design on Heterogeneous Programmable System-on-Chip

Jinming Zhuang, Zhuoping Yang, Peipei Zhou

AI总结:

本文提出AutoMM自动白盒框架,用于在Versal异构SoC上系统生成矩阵乘法加速器设计,在FP32、INT16和INT8上实现高吞吐量并显著提升能效。

摘要:

随着神经网络(NN)模型复杂度的不断提高,对计算能力的需求也日益增长。AMD推出了一种异构可编程片上系统(SoC),即Versal ACAP架构,其特点是集成了可编程逻辑(PL)、CPU和专用AI引擎(AIE)ASIC,理论吞吐量最高可达FP32 6.4 TFLOPs、INT16 25.6 TOPs和INT8 102.4 TOPs。然而,更高的复杂度使得即使对于矩阵-矩阵乘法这类已被充分研究的应用,要达到理论性能也并非易事。本文提出了AutoMM,一个自动白盒框架,能够系统地为Versal上的矩阵乘法加速器生成设计,在FP32、INT16和INT8数据类型上分别实现了3.7 TFLOPs、7.5 TOPs和28.2 TOPs的性能。我们的设计已在板上测试,与AMD U250 FPGA相比,能效分别提升了7.20倍(FP32)、3.26倍(INT16)和6.23倍(INT8);与Nvidia Jetson TX2 GPU相比,FP32能效提升了2.32倍;与Nvidia A100 GPU相比,FP32提升了1.06倍,INT8提升了1.70倍。

英文摘要:

As the increasing complexity of Neural Network(NN) models leads to high demands for computation, AMD introduces a heterogeneous programmable system-on-chip (SoC), i.e., Versal ACAP architectures featured with programmable logic (PL), CPUs, and dedicated AI engines (AIE) ASICs which has a theoretical throughput up to 6.4 TFLOPs for FP32, 25.6 TOPs for INT16 and 102.4 TOPs for INT8. However, the higher level of complexity makes it non-trivial to achieve the theoretical performance even for well-studied applications like matrix-matrix multiply. In this paper, we provide AutoMM, an automatic white-box framework that can systematically generate the design for MM accelerators on Versal which achieves 3.7 TFLOPs, 7.5 TOPs, and 28.2 TOPs for FP32, INT16, and INT8 data type respectively. Our designs are tested on board and achieve gains of 7.20x (FP32), 3.26x (INT16), 6.23x (INT8) energy efficiency than AMD U250 FPGA, 2.32x (FP32) than Nvidia Jetson TX2 GPU, 1.06x (FP32), 1.70x (INT8) than Nvidia A100 GPU.

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

↑