summaryrefslogtreecommitdiff
path: root/SCAN-RSS/baselines/cpu/Makefile
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2023-06-02 15:28:54 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2023-06-02 15:28:54 +0200
commitff9304370fdd94e9b7e4c4262c59ac734f1a28fd (patch)
treeca8e1edf1fd99d9295686f151de2bb96d7116588 /SCAN-RSS/baselines/cpu/Makefile
parent5a3652ed60704d2b45eb652639f9d712ea32e104 (diff)
SCAN-RSS: update dfatool port and add/update benchmark scripts
Diffstat (limited to 'SCAN-RSS/baselines/cpu/Makefile')
-rw-r--r--SCAN-RSS/baselines/cpu/Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/SCAN-RSS/baselines/cpu/Makefile b/SCAN-RSS/baselines/cpu/Makefile
index 2765a1b..0bdedf6 100644
--- a/SCAN-RSS/baselines/cpu/Makefile
+++ b/SCAN-RSS/baselines/cpu/Makefile
@@ -1,5 +1,14 @@
-all:
+TYPE ?= UINT64
+
+all: scan
+
+scan: app_baseline.cpp
g++ -O2 app_baseline.cpp -fopenmp -DTHRUST_HOST_SYSTEM=THRUST_HOST_SYSTEM_CPP -DTHRUST_DEVICE_SYSTEM=THRUST_DEVICE_SYSTEM_OMP -lgomp -I/usr/local/cuda-8.0/include -lm -o scan -D${TYPE}
+run: scan
+ ./scan -i 1258291200 -t 4
+
clean:
- rm scan
+ rm -f scan
+
+.PHONY: all run clean