'Updated desc for OpenMP'

This commit is contained in:
Arkadiusz Hypki 2024-05-13 15:44:17 +02:00
parent 1b8341f443
commit 4993b801c6

View File

@ -8,6 +8,12 @@ Hints:
* add -fopenmp to gcc compiler
* add -lgomp (in Linux) to linker
Or in the console one can run the command:
$ gcc -fopenmp openmp1.c -lgomp
And the file 'a.out' should be created. Execute this file.
Excercise 2
Implement in OpenMP the search of the maximum value in an array with randomly generated numbers. Check the speed up from 1 up to X threads.