-
Notifications
You must be signed in to change notification settings - Fork 0
/
_benchTD_gpu.sh
47 lines (42 loc) · 1.99 KB
/
_benchTD_gpu.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#!/bin/bash
nvcc src/main_cuda.cu -o cuda.out -std=c++11
./gerador.out 2 imgs/moedas_2.pbm
./gerador.out 3 imgs/moedas_3.pbm
./gerador.out 4 imgs/moedas_4.pbm
./gerador.out 5 imgs/moedas_5.pbm
./gerador.out 6 imgs/moedas_6.pbm
./gerador.out 7 imgs/moedas_7.pbm
./gerador.out 8 imgs/moedas_8.pbm
./gerador.out 9 imgs/moedas_9.pbm
./gerador.out 10 imgs/moedas_10.pbm
./gerador.out 11 imgs/moedas_11.pbm
./gerador.out 12 imgs/moedas_12.pbm
./gerador.out 13 imgs/moedas_13.pbm
./gerador.out 14 imgs/moedas_14.pbm
./gerador.out 15 imgs/moedas_15.pbm
./gerador.out 16 imgs/moedas_16.pbm
./gerador.out 17 imgs/moedas_17.pbm
./gerador.out 18 imgs/moedas_18.pbm
./gerador.out 19 imgs/moedas_19.pbm
./gerador.out 20 imgs/moedas_20.pbm
echo
echo CUDA
./cuda.out imgs/moedas_2.pbm imgs/moedas_2_saida_cuda.pbm -benchTD
./cuda.out imgs/moedas_3.pbm imgs/moedas_3_saida_cuda.pbm -benchTD
./cuda.out imgs/moedas_4.pbm imgs/moedas_4_saida_cuda.pbm -benchTD
./cuda.out imgs/moedas_5.pbm imgs/moedas_5_saida_cuda.pbm -benchTD
./cuda.out imgs/moedas_6.pbm imgs/moedas_6_saida_cuda.pbm -benchTD
./cuda.out imgs/moedas_7.pbm imgs/moedas_7_saida_cuda.pbm -benchTD
./cuda.out imgs/moedas_8.pbm imgs/moedas_8_saida_cuda.pbm -benchTD
./cuda.out imgs/moedas_9.pbm imgs/moedas_9_saida_cuda.pbm -benchTD
./cuda.out imgs/moedas_10.pbm imgs/moedas_10_saida_cuda.pbm -benchTD
./cuda.out imgs/moedas_11.pbm imgs/moedas_11_saida_cuda.pbm -benchTD
./cuda.out imgs/moedas_12.pbm imgs/moedas_12_saida_cuda.pbm -benchTD
./cuda.out imgs/moedas_13.pbm imgs/moedas_13_saida_cuda.pbm -benchTD
./cuda.out imgs/moedas_14.pbm imgs/moedas_14_saida_cuda.pbm -benchTD
./cuda.out imgs/moedas_15.pbm imgs/moedas_15_saida_cuda.pbm -benchTD
./cuda.out imgs/moedas_16.pbm imgs/moedas_16_saida_cuda.pbm -benchTD
./cuda.out imgs/moedas_17.pbm imgs/moedas_17_saida_cuda.pbm -benchTD
./cuda.out imgs/moedas_18.pbm imgs/moedas_18_saida_cuda.pbm -benchTD
./cuda.out imgs/moedas_19.pbm imgs/moedas_19_saida_cuda.pbm -benchTD
./cuda.out imgs/moedas_20.pbm imgs/moedas_20_saida_cuda.pbm -benchTD