summaryrefslogtreecommitdiff
path: root/TS/baselines/cpu/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'TS/baselines/cpu/Makefile')
-rw-r--r--TS/baselines/cpu/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/TS/baselines/cpu/Makefile b/TS/baselines/cpu/Makefile
index 69121ed..b0b9a86 100644
--- a/TS/baselines/cpu/Makefile
+++ b/TS/baselines/cpu/Makefile
@@ -1,4 +1,3 @@
-
all: streamp_openmp
streamp_openmp: streamp_openmp.cpp tools.cpp
@@ -13,10 +12,15 @@ streamp_openmp_O2: streamp_openmp.cpp tools.cpp
run: streamp_openmp
./streamp_openmp inputs/randomlist33M.txt 256
+# may need OMP_NUM_THREADS=32 (≈ tinos) -- does not work with 88 threads @ ios
+
run_O0: streamp_openmp_O0
./streamp_openmp_O0 inputs/randomlist33M.txt 256
run_O2: streamp_openmp_O2
./streamp_openmp_O2 inputs/randomlist33M.txt 256
+clean:
+ rm -f streamp_openmp streamp_openmp_O0 streamp_openmp_O2
+
.PHONY: all run run_O0 run_O2 clean