summaryrefslogtreecommitdiff
path: root/GEMV/baselines/cpu/run-opti.sh
diff options
context:
space:
mode:
Diffstat (limited to 'GEMV/baselines/cpu/run-opti.sh')
-rwxr-xr-xGEMV/baselines/cpu/run-opti.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/GEMV/baselines/cpu/run-opti.sh b/GEMV/baselines/cpu/run-opti.sh
new file mode 100755
index 0000000..0a3a4a3
--- /dev/null
+++ b/GEMV/baselines/cpu/run-opti.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+HOST="$(hostname)"
+
+echo $HOST
+
+make clean
+
+make run_O0 | sed 's/CPU/CPU O0/' | tee "${HOST}-O0.txt"
+
+make run_O2 | sed 's/CPU/CPU O2/' | tee "${HOST}-O2.txt"