summaryrefslogtreecommitdiff
path: root/GEMV/baselines/cpu/run-opti.sh
blob: 835f688f7d1b05181f60f39b159c00eec37b3551 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

HOST="$(hostname)"

echo $HOST

make clean

OMP_NUM_THREADS=4 make run_O0 | sed 's/CPU/CPU O0/' | tee "${HOST}-O0.txt"

OMP_NUM_THREADS=4 make run_O2 | sed 's/CPU/CPU O2/' | tee "${HOST}-O2.txt"