forked from mikepapadim/llama2.tornadovm.java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbenchmark.sh
29 lines (22 loc) · 1.45 KB
/
benchmark.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
logFolder="log_$(date +"%F_%H_%M_%S")"
mkdir -p $logFolder
## Java
bash butil.sh -v java stories15M.bin 2>&1 | tee -a $logFolder/log15_java
bash butil.sh -v java stories42M.bin 2>&1 | tee -a $logFolder/log42_java
bash butil.sh -v java stories110M.bin 2>&1 | tee -a $logFolder/log110_java
## Level Zero Device 0
bash butil.sh -v levelzero -d 0 stories15M.bin 2>&1 | tee -a $logFolder/log15_levelzero_0
bash butil.sh -v levelzero -d 0 stories42M.bin 2>&1 | tee -a $logFolder/log42_levelzero_0
bash butil.sh -v levelzero -d 0 stories110M.bin 2>&1 | tee -a $logFolder/log110_levelzero_0
## Level Zero Device 1
bash butil.sh -v levelzero -d 1 stories15M.bin 2>&1 | tee -a $logFolder/log15_levelzero_1
bash butil.sh -v levelzero -d 1 stories42M.bin 2>&1 | tee -a $logFolder/log42_levelzero_1
bash butil.sh -v levelzero -d 1 stories110M.bin 2>&1 | tee -a $logFolder/log110_levelzero_1
## TornadoVM Device 0
bash butil.sh -v tornadovm -d 0 stories15M.bin 2>&1 | tee -a $logFolder/log15_tornadovm_0
bash butil.sh -v tornadovm -d 0 stories42M.bin 2>&1 | tee -a $logFolder/log42_tornadovm_0
bash butil.sh -v tornadovm -d 0 stories110M.bin 2>&1 | tee -a $logFolder/log110_tornadovm_0
## Level Zero Device 1
bash butil.sh -v tornadovm -d 1 stories15M.bin 2>&1 | tee -a $logFolder/log15_tornadovm_1
bash butil.sh -v tornadovm -d 1 stories42M.bin 2>&1 | tee -a $logFolder/log42_tornadovm_1
bash butil.sh -v tornadovm -d 1 stories110M.bin 2>&1 | tee -a $logFolder/log110_tornadovm_1