Skip to content

Comparision of CUDA, OpenMP, MPI & Pthreads performances on parallelizing Gaussian Elimination Algorithm.

License

Notifications You must be signed in to change notification settings

svdeepak99/Gaussian_Elimination-CUDA-OpenMP-MPI-Pthreads

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gaussian_Elimination-CUDA-OpenMP-MPI-Pthreads

Comparision of CUDA, OpenMP, MPI & Pthreads performances on parallelizing Gaussian Elimination Algorithm.

  • Obtained 578x & 8x speedups with CUDA & OpenMP respectively (where 1x is Sequential performance) on Matrix Multiplication of 2048x2048 sized square matrices.
  • Implemented parallelization of Gaussian Elimination & Matrix Multiplication Algorithms using CUDA, OpenMP, MPI & Pthreads in C language.
  • Obtained 2054%, 697% & 6.3% speedups with OpenMP, Pthreads & MPI respectively on Gaussian Elimination of 2048x2048 square matrices.

Path to Codes:

  1. Pthreads - Parallelization of Gaussian Elimination Algorithm using Pthreads.
  2. OpenMP_and_MPI - Parallelization of Gaussian Elimination Algorithm using OpenMP and MPI, and comparing their performances.
  3. CUDA_and_OpenMP - Parallelization of Matrix Multiplication Algorithm using CUDA, and comparing its performace with OpenMP.

Performances:

Gaussian Elimination Single-Core runtimes (in seconds):

Sequential_Times

Gaussian Elimination: Pthreads vs MPI vs OpenMP runtimes (in seconds):

Pthreads-MPI-OpenMP_Times

Matrix Multiplication: Single-Core vs OpenMP vs CUDA speedups (x times the 1-core speed):

Seq-OpenMP-CUDA_Speedups

About

Comparision of CUDA, OpenMP, MPI & Pthreads performances on parallelizing Gaussian Elimination Algorithm.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published