计算机科学 > 分布式、并行与集群计算
[提交于 2022年2月11日]
标题:Blocking Techniques for Sparse Matrix Multiplication on Tensor Accelerators
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Tensor accelerators have gained popularity because they provide a cheap and efficient solution for speeding up computational-expensive tasks in Deep Learning and, more recently, in other Scientific Computing applications. However, since their features are specifically designed for tensor algebra (typically dense matrix-product), it is commonly assumed that they are not suitable for applications with sparse data. To challenge this viewpoint, we discuss methods and present solutions for accelerating sparse matrix multiplication on such architectures. In particular, we present a 1-dimensional blocking algorithm with theoretical guarantees on the density, which builds dense blocks from arbitrary sparse matrices. Experimental results show that, even for unstructured and highly-sparse matrices, our block-based solution which exploits Nvidia Tensor Cores is faster than its sparse counterpart. We observed significant speed-ups of up to two orders of magnitude on real-world sparse matrices.
提交历史
来自:Paolo Sylos Labini[v1] 2022年2月11日 星期五 19:19:51 UTC