lanzatest.sh 1.02 KB
Newer Older
German Leon's avatar
German Leon committed
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
cd /home/happy/microbench/micro

# posibles valores de $1 = shm, glb, reg
bench=$1
comun="-nop=145000 -bench=$bench -time=0.5"

#: '
echo "./micro -grid=1 -blk=1 $comun " > test.sh
chmod +x test.sh
/home/happy/bin/profile_micro.sh

echo "./micro -grid=1 -blk=32 $comun "> test.sh
chmod +x test.sh
/home/happy/bin/profile_micro.sh

echo "./micro -grid=1 -blk=64 $comun "> test.sh
chmod +x test.sh
/home/happy/bin/profile_micro.sh

echo "./micro -grid=1 -blk=128 $comun "> test.sh
chmod +x test.sh
/home/happy/bin/profile_micro.sh

echo "./micro -grid=1 -blk=1024 $comun" > test.sh
chmod +x test.sh
/home/happy/bin/profile_micro.sh

echo "./micro -grid=2 -blk=1024 $comun "> test.sh
chmod +x test.sh
/home/happy/bin/profile_micro.sh
#'
echo "./micro -grid=32 -blk=64 $comun" > test.sh
chmod +x test.sh
/home/happy/bin/profile_micro.sh

#: '
echo "./micro -grid=32 -blk=128 $comun "> test.sh
chmod +x test.sh
/home/happy/bin/profile_micro.sh

echo "./micro -grid=64 -blk=32 $comun " > test.sh
chmod +x test.sh
/home/happy/bin/profile_micro.sh
'