Matrix-Vector Multiplication and Triangular Linear Solver Using GPGPU for Symmetric Positive Definite Matrices Derived from Elliptic Equations

被引:0
|
作者
Martins, Thiago de Castro [1 ]
Kian, Jacqueline de Miranda [1 ]
Sato, Andre Kubagawa [1 ]
Guerra Tsuzuki, Marcos de Sales [1 ]
机构
[1] Univ Sao Paulo, Escola Politecn, Dept Engn Mecatron & Sistemas Mecan, Computat Geometry Lab, BR-05508 Sao Paulo, Brazil
基金
巴西圣保罗研究基金会;
关键词
Massive Parallelization; GPGPU; Sparse Matrix; Matrix-Vector Multiplication;
D O I
暂无
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
The modern GPUs are well suited for intensive computational tasks and massive parallel computation. Sparse matrix multiplication and linear triangular solver are the most important and heavily used kernels in scientific computation, and several challenges in developing a high performance kernel with the two modules is investigated. The main interest it to solve linear systems derived from the elliptic equations with triangular elements. The resulting linear system has a symmetric positive definite matrix. The sparse matrix is stored in the compressed sparse row (CSR) format. It is proposed a CUDA algorithm to execute the matrix vector multiplication using directly the CSR format. A dependence tree algorithm is used to determine which variables the linear triangular solver can determine in parallel. To increase the number of the parallel threads, a coloring graph algorithm is implemented to reorder the mesh numbering in a pre-processing phase. The proposed method is compared with parallel and serial available libraries. The results show that the proposed method improves the computation cost of the matrix vector multiplication. The pre-processing associated with the triangular solver needs to be executed just once in the proposed method. The conjugate gradient method was implemented and showed similar convergence rate for all the compared methods. The proposed method showed significant smaller execution time.
引用
收藏
页码:1286 / 1291
页数:6
相关论文
共 7 条