summaryrefslogtreecommitdiff
path: root/RED/baselines/cpu/Makefile
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2023-06-01 16:20:07 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2023-06-01 16:20:07 +0200
commit80e965ed9678192ad205979ce9a9af9f8c89a6db (patch)
tree5e194f94784dd75d93676e3a6269f7f07f4fefc1 /RED/baselines/cpu/Makefile
parent7bb062e2e774a1d8d06b4aa7d856097a4bc8b589 (diff)
RED: update dfatool integration; port nmc version; add eval scripts
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