vault backup: 2023-11-08 12:41:12
This commit is contained in:
parent
ca5b3de3e5
commit
18ec567878
1 changed files with 2 additions and 4 deletions
|
@ -3,8 +3,7 @@
|
||||||
>- gcc -O2 -fopenmp -lm -g -fno-omit-frame-pointer exe1.c -o exe1.out
|
>- gcc -O2 -fopenmp -lm -g -fno-omit-frame-pointer exe1.c -o exe1.out
|
||||||
>>- ./exe1.out
|
>>- ./exe1.out
|
||||||
>- srun --partition=cpar --cpus-per-task=2 ./exe1.out perf stat exe1.out
|
>- srun --partition=cpar --cpus-per-task=2 ./exe1.out perf stat exe1.out
|
||||||
>> sbatch --partition=cpar --cpus-per-task=4
|
>sbatch --partition=cpar --cpus-per-task=4 run.sh
|
||||||
time.sh
|
|
||||||
|
|
||||||
|
|
||||||
## Ex 1
|
## Ex 1
|
||||||
|
@ -15,6 +14,5 @@ time.sh
|
||||||
| critical | 0.032681249 | 0.031749990 |
|
| critical | 0.032681249 | 0.031749990 |
|
||||||
| atomic | 0.032905756 | 0.031628442 |
|
| atomic | 0.032905756 | 0.031628442 |
|
||||||
| reduction | 0.056825000 | 0.032184014 |
|
| reduction | 0.056825000 | 0.032184014 |
|
||||||
|
## b)
|
||||||
|
|
||||||
|
|
||||||
b)
|
|
Loading…
Reference in a new issue