Accelerating Sparse MTTKRP for Tensor Decomposition on FPGA
Accelerating Sparse MTTKRP for Tensor Decomposition on FPGA
复制标题
加速 FPGA 上张量分解的稀疏 MTTKRP
DOI:
10.1145/3543622.3573179
复制
发表时间:
2023
期刊:
影响因子:
--
通讯作者:
Prasanna, Viktor
中科院分区:
文献类型:
--
作者:
Wijeratne, Sasindu;Wang, Ta-Yang;Kannan, Rajgopal;Prasanna, Viktor
Sparse Matricized Tensor Times Khatri-Rao Product (spMTTKRP) is the most computationally intensive kernel in sparse tensor decomposition. In this paper, we propose a hardware-algorithm co-design on FPGA to minimize the execution time of spMTTKRP along all modes of an input tensor. We introduce FLYCOO, a novel tensor format that eliminates the communication of intermediate values to the FPGA external memory during the computation of spMTTKRP along all the modes. Our remapping of the tensor using FLYCOO also balances the workload among multiple Processing Engines (PEs). We propose a parallel algorithm that can concurrently process multiple partitions of the input tensor independent of each other. The proposed algorithm also orders the tensor dynamically during runtime to increase the data locality of the external memory accesses. We develop a custom FPGA accelerator design with (1) PEs consisting of a collection of pipelines that can concurrently process multiple elements of the input tensor and (2) memory controllers to exploit the spatial and temporal locality of the external memory accesses of the computation. Our work achieves a geometric mean of 8.8X and 3.8X speedup in execution time compared with the state-of-the-art CPU and GPU implementations on widely-used real-world sparse tensor datasets.
DOI:
10.1109/hpec49654.2021.9622851
发表时间:
2021
期刊:
2021
影响因子:
--
作者:
Wijeratne, Sasindu;Kannan, Rajgopal;Prasanna, Viktor
通讯作者:
Prasanna, Viktor
DOI:
10.1145/3295500.3356216
发表时间:
2019-11
期刊:
Proceedings of the International Conference for High Performance Computing, Networking, Storage and Analysis
影响因子:
--
作者:
Israt Nisa;Jiajia Li;Aravind Sukumaran-Rajam;Prasant Singh;Sri-ram Krishnamoorthy;P. Sadayappan;Singh Rawat;Sri-ram Krishnamoorthy;An Efficient Mixed-Mode
通讯作者:
Israt Nisa;Jiajia Li;Aravind Sukumaran-Rajam;Prasant Singh;Sri-ram Krishnamoorthy;P. Sadayappan;Singh Rawat;Sri-ram Krishnamoorthy;An Efficient Mixed-Mode
DOI:
--
发表时间:
2020
期刊:
IEEE International Conference on Acoustics, Speech, and Signal Processing
影响因子:
--
作者:
Zhiyu Cheng;Baopu Li;Yanwen Fan;Sid Ying
通讯作者:
Sid Ying