swSpAMM:optimizing large-scale sparse approximate matrix multiplication on Sunway Taihulight  被引量:1

在线阅读下载全文

作  者:Xiaoyan LIU Yi LIU Bohong YIN Hailong YANG Zhongzhi LUAN Depei QIAN 

机构地区:[1]State Key Laboratory of Software Development Environment,Beijing 100191,China [2]School of Computer Science and Engineering,Beihang University,Beijing 100191,China

出  处:《Frontiers of Computer Science》2023年第4期29-41,共13页中国计算机科学前沿(英文版)

基  金:supported by the National Key Research and Development Program of China(2020YFB1506703);the National Natural Science Foundation of China(Grant Nos.62072018 and 61732002);State Key Laboratory of Software Development Environment(SKLSDE-2021ZX-06)。

摘  要:Although matrix multiplication plays an essential role in a wide range of applications,previous works only focus on optimizing dense or sparse matrix multiplications.The Sparse Approximate Matrix Multiply(SpAMM)is an algorithm to accelerate the multiplication of decay matrices,the sparsity of which is between dense and sparse matrices.In addition,large-scale decay matrix multiplication is performed in scientific applications to solve cutting-edge problems.To optimize large-scale decay matrix multiplication using SpAMM on supercomputers such as Sunway Taihulight,we present swSpAMM,an optimized SpAMM algorithm by adapting the computation characteristics to the architecture features of Sunway Taihulight.Specifically,we propose both intra-node and inter-node optimizations to accelerate swSpAMM for large-scale execution.For intra-node optimizations,we explore algorithm parallelization and block-major data layout that are tailored to better utilize the architecture advantage of Sunway processor.For inter-node optimizations,we propose a matrix organization strategy for better distributing sub-matrices across nodes and a dynamic scheduling strategy for improving load balance across nodes.We compare swSpAMM with the existing GEMM library on a single node as well as large-scale matrix multiplication methods on multiple nodes.The experiment results show that swSpAMM achieves a speedup up to 14.5×and 2.2×when compared to xMath library on a single node and 2D GEMM method on multiple nodes,respectively.

关 键 词:approximate calculation sunway processor performance optimization 

分 类 号:O151.21[理学—数学]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象