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

基于分块矩阵-矩阵乘法的空间加速器结构评估

Evaluating Spatial Accelerator Architectures with Tiled Matrix-Matrix Multiplication

Korea Aerospace University(韩国航空大学);Georgia Institute of Technology(佐治亚理工学院);Sandia National Laboratories(桑迪亚国家实验室)

Gordon E. Moon, Hyoukjun Kwon, Geonhwa Jeong, Prasanth Chatarasi, Sivasankaran Rajamanickam, Tushar Krishna

摘要:

人们对用于机器学习应用的自定义空间加速器越来越感兴趣。这些加速器采用处理元件(PE)的空间阵列,通过自定义缓冲区层次结构和片上网络进行交互。这些加速器的效率来自于采用优化的低成本(即,跨PE的数据的空间/时间分区和细粒度调度)策略来优化数据重用。这项工作的重点是评估这些加速器架构使用平铺一般矩阵矩阵乘法(GEMM)内核。要做到这一点,我们开发了一个框架,找到优化的映射(低和瓦片大小)的平铺GEMM为给定的空间加速器和工作负载的组合,利用分析成本模型的运行时间和能源。我们对五个空间加速器的评估表明,我们的框架系统生成的分片GEMM映射在各种GEMM工作负载和加速器上实现了高性能。

英文摘要:

There is a growing interest in custom spatial accelerators for machine learning applications. These accelerators employ a spatial array of processing elements (PEs) interacting via custom buffer hierarchies and networks-on-chip. The efficiency of these accelerators comes from employing optimized dataflow (i.e., spatial/temporal partitioning of data across the PEs and fine-grained scheduling) strategies to optimize data reuse. The focus of this work is to evaluate these accelerator architectures using a tiled general matrix-matrix multiplication (GEMM) kernel. To do so, we develop a framework that finds optimized mappings (dataflow and tile sizes) for a tiled GEMM for a given spatial accelerator and workload combination, leveraging an analytical cost model for runtime and energy. Our evaluations over five spatial accelerators demonstrate that the tiled GEMM mappings systematically generated by our framework achieve high performance on various GEMM workloads and accelerators.

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

↑