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

边缘端深度学习矩阵乘法的性能分析

Performance Analysis of Matrix Multiplication for Deep Learning on the Edge

Cristian Ramírez, Adrián Castelló, Héctor Martínez, Enrique S. Quintana-Ortí

AI总结:

针对物联网边缘设备处理器架构高度异构的问题,提出采用遵循GotoBLAS2等现代实现的模拟器估算GEMM内核性能,经少量实验校准后可高精度预测不同架构的执行时间。

摘要:

面向物联网设计的设备包含种类繁多的不同处理器架构,形成了高度异构的集合。为解决这一问题,我们采用模拟器来估算矩阵-矩阵乘法(GEMM)内核在边缘端处理器上的性能。该模拟器遵循GotoBLAS2、BLIS、OpenBLAS等所倡导的现代GEMM实现方式,可仔细考量该内核不同算法变体在内存层次结构中的数据传输量。少量实验提供了校准模拟器所需的数据,可针对给定处理器架构实现执行时间的高精度估算。

英文摘要:

The devices designed for the Internet-of-Things encompass a large variety of distinct processor architectures, forming a highly heterogeneous zoo. In order to tackle this, we employ a simulator to estimate the performance of the matrix-matrix multiplication (GEMM) kernel on processors designed to operate at the edge. Our simulator adheres to the modern implementations of GEMM, advocated by GotoBLAS2, BLIS, OpenBLAS, etc., to carefully account for the amount of data transfers across the memory hierarchy of different algorithmic variants of the kernel. %Armed with this tool, A small collection of experiments provide the necessary data to calibrate the simulator and deliver highly accurate estimations of the execution time for a given processor architecture.

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

↑