'Updated desc for OpenMP'
This commit is contained in:
parent
1b8341f443
commit
4993b801c6
@ -8,6 +8,12 @@ Hints:
|
|||||||
* add -fopenmp to gcc compiler
|
* add -fopenmp to gcc compiler
|
||||||
* add -lgomp (in Linux) to linker
|
* 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
|
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.
|
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.
|
||||||
|
Loading…
Reference in New Issue
Block a user