Skip to content

Comparision between sequential, Pthread and OpenMP parallel programming

Notifications You must be signed in to change notification settings

dumidu1998/Parallel-Programming

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Parallel-Programming

Comparision between sequential, Pthread and OpenMP parallel programming

git update-index --chmod=+x your_script.sh

Run on Linux Terminal

Sequential

cc -O3 seq.c -o seq && ./seq

Pthread

cc -O3 pthread.c -o pthread -lpthread && ./pthread

OpenMp

cc -O3 omp.c -o omp -fopenmp && ./omp

Check on the Action tab for results in different matrix sizes

image

About

Comparision between sequential, Pthread and OpenMP parallel programming

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published