Skip to content

NezLheimeur/Introduction_Parrallel_Programming

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Introduction to Parrallel Programming

This Project present a small introduction on how we can parallelize a program on a CPU using AVX and Pthreads. Here we compute an l1 norm of a vector: S=sqrt(abs(X))

to compile the project use the command: gcc -o <executable_name> main.c -mavx -lm -lpthread

For the execution, you can add arguments representing in order the number of data then the number of threads.for example: ./<executable_name> <nb_data> <nb_threads> You can also represent only the number of data, in this case the number of threads will be 8 (by default). If you run without additional information, the number of data will be 10,000,000 and the number of threads 8.

About

Parrallel programming on CPU using Pthread and AVX

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages