diff options
Diffstat (limited to 'SCAN-RSS/baselines/cpu/Makefile')
-rw-r--r-- | SCAN-RSS/baselines/cpu/Makefile | 13 |
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 |