Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 534 Bytes

README.md

File metadata and controls

27 lines (20 loc) · 534 Bytes

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