alxthm / hpc_benchmarking_c_s1825

Vectorize and parallelize basic computations in C

Repository from Github https://github.comalxthm/hpc_benchmarking_c_s1825Repository from Github https://github.comalxthm/hpc_benchmarking_c_s1825

hpc_benchmarking_c_s1825

In this repository, we compared different implementations of the norm d(U) = sum(sqrt(|u|)) for a vector U of length n and random components between 0 and 1.

We implemented multi-threading and vectorized computations with the AVX instructions set in C.

How to compile

run the command gcc -o project project.c -mavx2 -lpthread -lm -Wall

About

Vectorize and parallelize basic computations in C


Languages

Language:C 82.6%Language:Python 17.4%