arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2109.08874cs.ARcs.AIcs.DC
收藏

基于FPGA的稀疏矩阵化张量倍Khatri-Rao积可重构低延迟存储系统

Reconfigurable Low-latency Memory System for Sparse Matricized Tensor Times Khatri-Rao Product on FPGA

University of Southern California(南加利福尼亚大学);US Army Research Lab(美国陆军研究实验室)

Sasindu Wijeratne, Rajgopal Kannan, Viktor Prasanna

摘要:

张量分解已经成为包括机器学习在内的各个领域的许多应用中的重要工具。稀疏矩阵化张量乘Khatri-Rao乘积(MTTKRP)是张量计算中计算量最大的核函数之一。尽管具有显著的计算并行性,MTTKRP是一个具有挑战性的内核优化,由于其不规则的内存访问特性。本文重点研究了多面存储系统,探讨了MTTKRP的数据结构的空间和时间局部性。此外,用户可以根据FPGA加速器中使用的计算单元的行为重新配置我们的设计。我们的系统有效地访问所有的MTTKRP数据结构,同时减少总的内存访问时间,使用分布式缓存和直接内存访问(DMA)子系统。此外,我们的工作提高了3.5倍的存储器访问时间相比,商业存储器控制器IP。此外,我们的系统显示2倍和1.26倍的加速比相比,只有缓存和DMA的内存系统,分别。

英文摘要:

Tensor decomposition has become an essential tool in many applications in various domains, including machine learning. Sparse Matricized Tensor Times Khatri-Rao Product (MTTKRP) is one of the most computationally expensive kernels in tensor computations. Despite having significant computational parallelism, MTTKRP is a challenging kernel to optimize due to its irregular memory access characteristics. This paper focuses on a multi-faceted memory system, which explores the spatial and temporal locality of the data structures of MTTKRP. Further, users can reconfigure our design depending on the behavior of the compute units used in the FPGA accelerator. Our system efficiently accesses all the MTTKRP data structures while reducing the total memory access time, using a distributed cache and Direct Memory Access (DMA) subsystem. Moreover, our work improves the memory access time by 3.5x compared with commercial memory controller IPs. Also, our system shows 2x and 1.26x speedups compared with cache-only and DMA-only memory systems, respectively.

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

↑