Developing a High Performance Software Library with MPI and CUDA for Matrix Computations Cover Image

Developing a High Performance Software Library with MPI and CUDA for Matrix Computations
Developing a High Performance Software Library with MPI and CUDA for Matrix Computations

Author(s): Bogdan Oancea, Andrei Tudorel
Subject(s): Social Sciences, ICT Information and Communications Technologies
Published by: Universitatea Nicolae Titulescu
Keywords: parallel algorithms; linear algebra; CUDA; MPI; GPU computing.

Summary/Abstract: Nowadays, the paradigm of parallel computing is changing. CUDA is now a popular programming model for general purpose computations on GPUs and a great number of applications were ported to CUDA obtaining speedups of orders of magnitude comparing to optimized CPU implementations. Hybrid approaches that combine the message passing model with the shared memory model for parallel computing are a solution for very large applications. We considered a heterogeneous cluster that combines the CPU and GPU computations using MPI and CUDA for developing a high performance linear algebra library. Our library deals with large linear systems solvers because they are a common problem in the fields of science and engineering. Direct methods for computing the solution of such systems can be very expensive due to high memory requirements and computational cost. An efficient alternative are iterative methods which computes only an approximation of the solution. In this paper we present an implementation of a library that uses a hybrid model of computation using MPI and CUDA implementing both direct and iterative linear systems solvers. Our library implements LU and Cholesky factorization based solvers and some of the non-stationary iterative methods using the MPI/CUDA combination. We compared the performance of our MPI/CUDA implementation with classic programs written to be run on a single CPU.

  • Issue Year: 1/2013
  • Issue No: 2
  • Page Range: 5-10
  • Page Count: 6
  • Language: English