swSpAMM: optimizing large-scale sparse approximate matrix multiplication on Sunway Taihulight

被引:0
|
作者
LIU Xiaoyan [1 ,2 ]
LIU Yi [2 ]
YIN Bohong [2 ]
YANG Hailong [1 ,2 ]
LUAN Zhongzhi [2 ]
QIAN Depei [2 ]
机构
[1] State Key Laboratory of Software Development Environment, Beijing , China
[2] School of Computer Science and Engineering, Beihang University, Beijing ,
关键词
approximate calculation; sunway processor; performance optimization;
D O I
暂无
中图分类号
TP338.4 [大型、巨型计算机]; TP332 [运算器和控制器(CPU)]; TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
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.
引用
收藏
相关论文
共 50 条
  • [41] Accelerating approximate matrix multiplication for near-sparse matrices on GPUs
    Liu, Xiaoyan
    Liu, Yi
    Yang, Hailong
    Dun, Ming
    Yin, Bohong
    Luan, Zhongzhi
    Qian, Depei
    JOURNAL OF SUPERCOMPUTING, 2022, 78 (09): : 11464 - 11491
  • [42] Optimization of GPU-based Sparse Matrix Multiplication for Large Sparse Networks
    Lee, Jeongmyung
    Kang, Seokwon
    Yu, Yongseung
    Jo, Yong-Yeon
    Kim, Sang-Wook
    Park, Yongjun
    2020 IEEE 36TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING (ICDE 2020), 2020, : 925 - 936
  • [43] Large-Scale Simulation of Quantum Computational Chemistry on a New Sunway Supercomputer
    Shang, Honghui
    Shen, Li
    Fan, Yi
    Xu, Zhiqian
    Guo, Chu
    Liu, Jie
    Zhou, Wenhao
    Ma, Huan
    Lin, Rongfen
    Yang, Yuling
    Li, Fang
    Wang, Zhuoya
    Zhang, Yunquan
    Li, Zhenyu
    SC22: INTERNATIONAL CONFERENCE FOR HIGH PERFORMANCE COMPUTING, NETWORKING, STORAGE AND ANALYSIS, 2022,
  • [44] SPECIAL PARALLEL PROCESSOR FOR LU DECOMPOSITION OF A LARGE-SCALE SPARSE MATRIX.
    Asai, Hideki
    Asai, Mitsuo
    Tanaka, Mamoru
    1600, (18):
  • [46] Accurate sparse-matrix semisymbolic analysis of large-scale RF circuits
    Dobes, Josef
    Michal, Jan
    2006 EUROPEAN MICROWAVE CONFERENCE, VOLS 1-4, 2006, : 1573 - +
  • [47] Towards a Multi-array Architecture for Accelerating Large-scale Matrix Multiplication on FPGAs
    Shen, Junzhong
    Qiao, Yuran
    Huang, You
    Wen, Mei
    Zhang, Chunyuan
    2018 IEEE INTERNATIONAL SYMPOSIUM ON CIRCUITS AND SYSTEMS (ISCAS), 2018,
  • [48] Large-Scale Sparse Logistic Regression
    Liu, Jun
    Chen, Jianhui
    Ye, Jieping
    KDD-09: 15TH ACM SIGKDD CONFERENCE ON KNOWLEDGE DISCOVERY AND DATA MINING, 2009, : 547 - 555
  • [49] LARGE-SCALE VISUALIZATION OF SPARSE MATRICES
    Langr, D.
    Simecek, I.
    Tvrdiki, P.
    Dytrych, T.
    SCALABLE COMPUTING-PRACTICE AND EXPERIENCE, 2014, 15 (01): : 21 - 31
  • [50] Optimizing Sparse Matrix-Vector Multiplication on GPUs via Index Compression
    Sun, Xue
    Wei, Kai-Cheng
    Lai, Lien-Fu
    Tsai, Sung-Han
    Wu, Chao-Chin
    PROCEEDINGS OF 2018 IEEE 3RD ADVANCED INFORMATION TECHNOLOGY, ELECTRONIC AND AUTOMATION CONTROL CONFERENCE (IAEAC 2018), 2018, : 598 - 602