-
Notifications
You must be signed in to change notification settings - Fork 0
/
get_results3_block_v5.sh
60 lines (51 loc) · 1.22 KB
/
get_results3_block_v5.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
48
49
50
51
52
53
54
55
56
57
58
59
60
#!/bin/bash -e
> './MatrMulV5Block/results2_M_N_block_v5.csv'
> './MatrMulV5Block/results2_N_K_block_v5.csv'
> './MatrMulV5Block/results2_M_K_block_v5.csv'
res=""
res="xxx"
for j in {8..512..8}
do
res=$res" "$j
done
for i in {8..512..8}
do
res=$i
for j in {8..512..8}
do
res=$res" "$(./a.out --increment $i $j 64)
done
echo $res >> './MatrMulV5Block/results2_M_N_block_v5.csv'
#echo $i" "$(./a.out --increment $i 128 128) >> './MatrMulV5Block/results_M_3_block_v5.csv'
done
res="xxx"
for j in {8..512..8}
do
res=$res" "$j
done
for i in {8..512..8}
do
res=$i
for j in {8..512..8}
do
res=$res" "$(./a.out --increment 64 $i $j)
done
echo $res >> './MatrMulV5Block/results2_N_K_block_v5.csv'
#echo $i" "$(./a.out --increment 128 $i 128) >> './MatrMulV5Block/results_N_3_block_v5.csv'
done
res="xxx"
for j in {8..512..8}
do
res=$res" "$j
done
for i in {8..512..8}
do
res=$i
for j in {8..512..8}
do
res=$res" "$(./a.out --increment $i 64 $j)
done
echo $res >> './MatrMulV5Block/results2_M_K_block_v5.csv'
#echo $i" "$(./a.out --increment 128 128 $i) >> './MatrMulV5Block/results_N_3_block_v5.csv'
done
gnuplot gnuplot_commands_3_block_v5.plt