-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtest.sh
69 lines (50 loc) · 875 Bytes
/
test.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
61
62
63
64
65
66
67
68
69
#set -x
test=./Executable/stest_float
test2=./Executable/stest2x2_float
test4=./Executable/stest4x4_float
test8=./Executable/stest8x8_float
echo $test
for N in 2000 4000 6000
do
for D in 16 32 64
do
for p in 4 6 8 10 12 14
do
echo $N $D $p | $test | grep GFLOPS | grep -v BLAS
done
done
done
echo $test2
for N in 1000 2000 3000
do
for D in 8 16 32
do
for p in 4 6 8 10 12 14
do
echo $N $D $p | $test2 | grep GFLOPS | grep -v BLAS
done
done
done
#exit
echo $test4
for N in 500 1000 2000
do
for D in 1 8 16
do
for p in 4 6 8 10 12 14
do
echo $N $D $p | $test4 | grep GFLOPS | grep -v BLAS
done
done
done
echo $test8
for N in 250 500 1000
do
for D in 8 16
do
for p in 2 4 6 8 10 12 14 16
do
echo $N $D $p | $test8 | grep GFLOPS | grep -v BLAS
done
done
done