Skip to content

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

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors