Study on characteristic value of matrix of the GPU parallel algorithm

Author
WangTao
Advisor
GuoLongJiang
School
Heilongjiang University
Major
Software Engineering
Classification
O241.6 Linear algebra method of calculating
Degree
Master's thesis
Year
2012
Downloads
58
Citations
0

Request the full text

Abstract

Solving the eigenvalues of matrices is an open problem which is often related to scientific computation. With the order of matrices increasing continually, traditional sequential algorithms are unable to meet the needs for the calculation of time. Although people can use cluster systems in a short period of time to solve the eigenvalues of large-scale matrices, it will bring an increase in equipment costs and power consumption.In order to solve the problems above, this paper proposes a parallel algorithm named Hybrid Algorithm (for short HA) which is implemented by CUDA (Computer Unified Device Architecture) on GPU(Graphic Process Unit) to solve the eigenvalues of symmetric matrices. This parallel algorithm is based on Jacobi iteration method. HA algorithm is a combination of the proposed two parallel Jacobi iteration algorithm PA-1and PA-2. The main ideas of PA-1and PA-2are parallel implementation on finding the element who has the maximum absolute value in the non-diagonal elements of symmetric matrix and computing the elements of transformed matrix this two step of sequential Jacobi algorithm. PA-1algorithm is different from PA-2algorithm only in how to find the one from non-diagonal elements whose absolute value is the maximum. The experimental results show that the HA can save more running time than traditional sequential algorithms and the speedup ratio is9.85~13.71. As the size of matrices increase, the general trend of speedup ratio increases correspondingly. Moreover, as the number of iterations increases, the speedup ratio is very stable. Therefore, the computing time of traditional sequential algorithms to solve the eigenvalues of matrices has been reduced significantly.This paper also proposes a parallel QR algorithm named PA-QR which is implemented by CUDA on GPU to solve the eigenvalues of general matrices. But before using the QR method, we need change the general matrices to upper H (Hessenberg) matrices. We proposes a parallel algorithm named PA-H firstly which can change the general matrices to upper H matrices. The main idea of the PA-H algorithm is parallel implementation on finding the element who has the maximum absolute value from column k-1below the k-1element and line exchange, column exchange and elimination transform to the rows and columns. The main idea of the PA-QR algorithm is parallel implementation on four cycles which are a heavy cycle. The experimental results show that the speedup ratio of PA-H is1.79~7.81, while the speedup ratio of PA-QR is3.24-118.9. As the size of matrices increase, the speedup ratio increases correspondingly. Moreover, as the number of iterations increases, the speedup ratio is very stable.

Table of contents

Chinese abstract 2-3 Abstract 3-8 Chapter 1 Introduction 8-16 1.1 high-performance parallel computing research background and values meaning Status computing environment to achieve high performance parallel 8-9 1.2 numerical 9-12 1.2.1 cluster 9 1.2.2 multicore 9-10 1.2.3 GPU 10-12 1.3 eigenvalue research status algorithm 12-13 1.4 current problems 13 1.5 The main research and innovation in this article 13-14 1.6 papers structural arrangements 14-16 Chapter 2 basics 16-20 2.1 eigenvalues ??knowledge 16 2.2 CUDA Profile 16-18 2.3 Nsight software 18 <br / > 2.4 Chapter Summary 18-20 Chapter 3 CUDA parallel Jacobi algorithm based 20-44 3.1 Introduction 20 3.2 Jacobi iteration eigenvalues ??of the matrix method for finding the serial algorithm SA 20-23 3.3 parallel Jacobi iterative algorithm PA-1 23-30 3.3.1 algorithm preparatory work 23-24 3.3.2 -diagonal elements in parallel to identify the absolute greatest 24-28 3.3.3 parallel matrix update 28-30 <br / > 3.4 parallel Jacobi iterative algorithm PA-2 30-35 3.4.1 Overview 30-31 3.4.2 algorithm Description 31-35 <br / > 3.5 mixed parallel Jacobi iterative algorithm HA 35 3.6 serial algorithm and parallel algorithm time complexity analysis 35-36 3.7 results and analysis 36-42 3.8 Summary 42-44 Chapter 4 CUDA-based parallel QR algorithm 44-68 4.1 Introduction 44 - 45 4.2 QR method for solving the serial algorithm eigenvalues ?? 45-53 4.2.1 QR method is the basic idea 45-47 4.2.2 of general real matrix of the H matrix 47-48 4.2.3 QR double step method matrix eigenvalues ?? 48-53 4.3 parallel algorithms 53-62 4.3.1 the general matrix into a matrix of parallel algorithms on H 54-57 4.3.2 parallel QR algorithm 57-62 4.4 time complexity analysis 62-64 4.4.1 the general matrix into the matrix H time complexity analysis 62-63 4.4.2 QR QR serial algorithm and parallel algorithms time complexity analysis 63-64 4.5 experimental results and analysis 64-67 4.6 Summary 67-68 conclusion 68-70 References 70-75 Appendix A: Nsight auxiliary programming environment installation and configuration 75-80 Thanks 80-81 published during the academic master's degree 81-82

Related dissertations

  1. Research of Efficient Computing Method on GPU-based LS-SVM
    BaoWenLei ·Harbin Institute of Technology ·2012 ·Master's thesis
  2. Optimization of CUDA-based Parallel SOM Algorithm and Its Application
    ZhangJinChao ·Harbin Institute of Technology ·2012 ·Master's thesis
  3. Research on GPU General Computing on Text Classification
    LiZhiLong ·Zhejiang Sci-Tech University ·2014 ·Master's thesis
  4. Research and Implementation of FIR Filtering Parallel Algorithm Based on GPU
    XiaoZuo ·Northeastern University ·2011 ·Master's thesis
  5. Research on Text Detecting and Removal in Video Image Based on CUDA
  6. Rapid Implementation of the Small Infrared Target Detection Algorithm on CUDA
  7. Parallel Face Detection CUDA Accelerating
  8. Research on Boundary Face Method Base on GPU-acceleration
    YuLieXiang ·Hunan University ·2013 ·Master's thesis
  9. Research on Applying GPU Parallel Computation to Medical Image Processing
    LiYingMin ·Tianjin University ·2012 ·Master's thesis
  10. Research of Image Registration and Mosaic Technology Based on GPU
    ZouGang ·Tianjin University ·2012 ·Master's thesis
  11. Research and Implementation of Parallel Resampling Algorithm Based on GPU
    YuYinPing ·Northeastern University ·2013 ·Master's thesis
  12. The CAPTCHA Machine Pattern Recognition Technology Based on GPU Research and Application
  13. Study of Visual Tracking Algorithm Based on CUDA
    ZhangPing ·Beijing Jiaotong University ·2014 ·Master's thesis
  14. Improved Push-Relabel Algorithm for Graph Cuts And Design and Implementation on the GPU
    LiZuo ·Beijing Jiaotong University ·2014 ·Master's thesis
  15. Research and Implementation of Hashalgorithm Library on GPU
    LiKai ·South China University of Technology ·2013 ·Master's thesis
  16. Design and GPU Implementation of the DSP Algorithm in the Coherent Receiver of Fiber Communication
  17. Research of Real-time Acoustic Imaging Array Positioning Technology
    YuLiZhi ·Xiangtan University ·2013 ·Master's thesis
  18. Research on Simulation Methods Based on GPU for Small Delay Faults
    PengMingMing ·Hunan University ·2013 ·Master's thesis
  19. Hyperspectral image mixed pixel decomposition parallel optimization based on GPU
  20. High-Order Difference Forward Modeling and Reverse-Time Migration Based on CUDA
    XiangFei ·Ocean University of China ·2013 ·Master's thesis