The Research on Optimizing Sparse Matrix Computation Based on GPU

Author
LiangTian
Advisor
ZhangQin
School
Huazhong University of Science and Technology
Major
Applied Computer Technology
Classification
O241.6 Linear algebra method of calculating
Degree
Master's thesis
Year
2012
Downloads
84
Citations
0

Request the full text

Abstract

Large-scale sparse matrix solver is a common problem in high-performance computing,widely exists in engineering practice, particularly in computer simulation field. Usingconventional methods for solving sparse matrix will waste a lot of computing resources.At present, both at home and abroad, research on sparse matrix computation in generalpurpose GPU computing is less. Existing research is major on sparse matrix and vectormultiplication.Sparse matrix vector multiplication on the GPU is achieved and optimized. In order tosolve the problem caused by uneven distribution for non-zero elements in sparse matrixand the problem that threads in a same warp can’t visit GPU memory in a merged way, theSC-CSR sparse matrix vector multiplication method on GPU is proposed. To solve threadwaiting issue caused by load imbalance of thread computing in a warp and the memoryaccess issue as a result of the thread does not meet the merger of the global memoryaccess requirements, a sparse matrix vector multiplication approach based on VAB sparsematrix storage format is proposed. The optimization of global memory access and the useof texture memory and constant memory is proposed for the above two methods. Linearequation solver on the GPU sparse matrix with Jacobi iteration and Generalized MinimumResidual method is achieved and optimized. The optimization method proposed can beextended to all the iterative method on GPU for solving sparse matrix linear equation ofuniversal significance. Finally, the sparse matrix equation solving is accelerated by thehost device communication and shared memory access optimization.Experiments show that the sparse linear equation computation speed increasessignificantly in relation to serial code on CPU with a speed up ranging from10.3to74.0.

Table of contents

Summary 4-5 Abstract 5-8 1 Introduction 8-15 1.1 Background and Significance 8-9 1.2 domestic and foreign research status 9-13 1.3 research 13-14 1.4 article organizational structure 14-15 2 sparse matrix-vector multiplication on the GPU implementation and optimization 15-27 2.1 related work 15-17 2.2 GPU merger segmented storage strategy on sparse matrix-vector multiplication method 17-20 2.3 GPU on the block storage strategy by row sparse matrix-vector multiplication method 20-23 2.4 GPU- based optimization method for sparse matrix-vector multiplication 23-26 2.5 Summary 26-27 3 sparse linear equation solver on the GPU implementation and optimization of 27-37 3.1 related work 27 3.2 GPU-based Jacobi iteration 27-30 3.3 GPU-based generalized minimal residual method 30-34 3.4 based GPU sparse matrix equation solving optimization 34-35 3.5 Summary 35-37 4 testing and analysis 37-43 4.1 test environment and methods 37 4.2 GPU sparse matrix vector multiplication performance test 37-39 4.3 GPU computing sparse linear equation solving performance test 39-42 <br / > 4.4 summary 42-43 5 summary and Outlook 43-45 5.1 based main work 43-44 5.2 future needs done 44-45 Thanks 45-46 References 46-48

Related dissertations

  1. The Research of GPU-Based3D Texture Mapping Volume Rendering
  2. Research on simulation method of deep space target infrared optical properties
  3. The Algorithm Research and Implementation of Multi-band Image Fusion
    ZhangFu ·Beijing Institute of Technology ·2014 ·Master's thesis
  4. The Parallelization Research of Query Technology on GPU
    HuangYuLong ·South China University of Technology ·2013 ·Doctoral dissertation
  5. The Research of GPGPU-based Parallel Digital Image Encryption Algorithm
  6. Research on the Algorithm of Charge Distribution in Molecular Dynamics Simulations Based on GPU
    ZhangDeHao ·Liaoning Normal University ·2012 ·Master's thesis
  7. The Parallelization Research of Map Algebra of Spacial Analysis in Heterogeneous Computing Environment
    ZhouSiBo ·China University of Geosciences ·2013 ·Master's thesis
  8. Analysis of Hardware Fault Propagation in Programs and Research on Fault-tolerance Techniques
  9. Research into the Distribution of the Bias Arch Tunnel Elastic Resistance
  10. Quantitative Well-logging Interpretation and Evaluation of Complex Water-Flooded Zone in Qin Huangdao M Oilfield
    HuangRuoKun ·Yangtze University ·2013 ·Master's thesis
  11. Some Computational Homotopy,Variational and Iterative Methods for Engineering and Applied Science Problems
    Khan; Yasir ·Zhejiang University ·2012 ·Doctoral dissertation
  12. Two Methods for Solving Nonlinear Ill-posed Problems
  13. Iterative Methods for Multiple Roots of Nonlinear Equation
    ZhouXiaoJian ·Nanjing Normal University ·2013 ·Doctoral dissertation
  14. Research on the Methods of Nonlinear Equations
    WangDongSheng ·Hefei University of Technology ·2013 ·Master's thesis
  15. The Convergence Analysis and Application of Several Iterative Methods for Solving Nonlinear Equations in Banach Space
    ZhengLin ·Shanghai University ·2013 ·Doctoral dissertation
  16. The Convergence of Several Iterate Schemes for Solving Singular Problems
  17. The New Method to Solve the Problem of Matrix Rank Minimization
    WangYanMing ·Harbin Normal University ·2013 ·Master's thesis
  18. Research on Several Kinnds of Existence of Solutions for Fractional Differential Equations
    LiYa ·Yanshan University ·2013 ·Master's thesis
  19. Research and Implementation of Krylov Subspace Algorithm Based on CPU and GPU
    ZuoDingXi ·Hunan University ·2013 ·Master's thesis
  20. The Adaptive Generation of Successive Over Relaxation Method Factor
    LiuYang ·Shanxi University ·2013 ·Master's thesis