-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrun-amd.sh
executable file
·44 lines (34 loc) · 947 Bytes
/
run-amd.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
#!/usr/bin/env bash
SCRIPT=$(realpath $0)
SCRIPT_DIR=$(dirname $SCRIPT)
echo "======== Experiment 1 ========"
cd $SCRIPT_DIR/amd/experiment_1
./run.sh "$@"
echo "======== Experiment 2 ========"
cd $SCRIPT_DIR/amd/experiment_2
./run.sh "$@"
echo "======== Experiment 3 ========"
cd $SCRIPT_DIR/amd/experiment_3
./run.sh "$@"
echo "======== Experiment 4 ========"
cd $SCRIPT_DIR/amd/experiment_4
./run.sh "$@"
echo "======== Experiment 5 ========"
cd $SCRIPT_DIR/amd/experiment_5
./run.sh "$@"
echo "======== Experiment 6 ========"
cd $SCRIPT_DIR/amd/experiment_6
./run.sh "$@"
echo "======== Experiment 7 ========"
cd $SCRIPT_DIR/amd/experiment_7
if grep -m1 "cpu family" /proc/cpuinfo | grep "23" ; then
./run-vspec-all.sh "$@"
else
./run-vspec-ops.sh "$@"
fi
echo "======== Experiment 8 ========"
cd $SCRIPT_DIR/amd/experiment_6
./run.sh "$@"
echo "======== Experiment 9 ========"
cd $SCRIPT_DIR/amd/experiment_6
./run.sh "$@"