summaryrefslogtreecommitdiff
path: root/RED/baselines/cpu/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'RED/baselines/cpu/Makefile')
-rw-r--r--RED/baselines/cpu/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/RED/baselines/cpu/Makefile b/RED/baselines/cpu/Makefile
index e4d935c..4350185 100644
--- a/RED/baselines/cpu/Makefile
+++ b/RED/baselines/cpu/Makefile
@@ -1,5 +1,12 @@
-all:
+all: red
+
+red: app_baseline.cpp
g++ -O2 app_baseline.cpp -fopenmp -DTHRUST_HOST_SYSTEM=THRUST_HOST_SYSTEM_CPP -DTHRUST_DEVICE_SYSTEM=THRUST_DEVICE_SYSTEM_OMP -lgomp -lm -o red -D${TYPE}
+run: red
+ ./red -i 1048576000 -t 4
+
clean:
rm red
+
+.PHONY: all clean run