diff options
-rwxr-xr-x | BS/baselines/cpu/run-opti.sh | 4 | ||||
-rwxr-xr-x | GEMV/baselines/cpu/run-opti.sh | 4 | ||||
-rwxr-xr-x | TS/baselines/cpu/run-opti.sh | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/BS/baselines/cpu/run-opti.sh b/BS/baselines/cpu/run-opti.sh index 62a3e8b..64c05b8 100755 --- a/BS/baselines/cpu/run-opti.sh +++ b/BS/baselines/cpu/run-opti.sh @@ -7,9 +7,9 @@ echo $HOST make clean for i in $(seq 1 50); do - make run_O0 | sed 's/CPU/CPU O0/' + OMP_NUM_THREADS=4 make run_O0 | sed 's/CPU/CPU O0/' done | tee "${HOST}-O0.txt" for i in $(seq 1 50); do - make run_O2 | sed 's/CPU/CPU O2/' + OMP_NUM_THREADS=4 make run_O2 | sed 's/CPU/CPU O2/' done | tee "${HOST}-O2.txt" diff --git a/GEMV/baselines/cpu/run-opti.sh b/GEMV/baselines/cpu/run-opti.sh index 0a3a4a3..835f688 100755 --- a/GEMV/baselines/cpu/run-opti.sh +++ b/GEMV/baselines/cpu/run-opti.sh @@ -6,6 +6,6 @@ echo $HOST make clean -make run_O0 | sed 's/CPU/CPU O0/' | tee "${HOST}-O0.txt" +OMP_NUM_THREADS=4 make run_O0 | sed 's/CPU/CPU O0/' | tee "${HOST}-O0.txt" -make run_O2 | sed 's/CPU/CPU O2/' | tee "${HOST}-O2.txt" +OMP_NUM_THREADS=4 make run_O2 | sed 's/CPU/CPU O2/' | tee "${HOST}-O2.txt" diff --git a/TS/baselines/cpu/run-opti.sh b/TS/baselines/cpu/run-opti.sh index 9135393..64c05b8 100755 --- a/TS/baselines/cpu/run-opti.sh +++ b/TS/baselines/cpu/run-opti.sh @@ -7,9 +7,9 @@ echo $HOST make clean for i in $(seq 1 50); do - ( make run_O0 || OMP_NUM_THREADS=32 make run_O0 ) | sed 's/CPU/CPU O0/' + OMP_NUM_THREADS=4 make run_O0 | sed 's/CPU/CPU O0/' done | tee "${HOST}-O0.txt" for i in $(seq 1 50); do - ( make run_O2 || OMP_NUM_THREADS=32 make run_O2 ) | sed 's/CPU/CPU O2/' + OMP_NUM_THREADS=4 make run_O2 | sed 's/CPU/CPU O2/' done | tee "${HOST}-O2.txt" |