From 97ba6163d9609df945d6b2bd5ef9b3537f3f56ba Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 17 May 2023 16:11:16 +0200 Subject: SCAN-SSA: Add OpenMP variant --- SCAN-SSA/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'SCAN-SSA/Makefile') diff --git a/SCAN-SSA/Makefile b/SCAN-SSA/Makefile index 00af65c..1ac9ecc 100644 --- a/SCAN-SSA/Makefile +++ b/SCAN-SSA/Makefile @@ -5,7 +5,8 @@ TYPE ?= INT64 ENERGY ?= 0 UNROLL ?= 1 -HOST_SOURCES := $(wildcard host/*.c) +HOST_SOURCES := $(wildcard host/app.c) +OMP_SOURCES := $(wildcard host/omp.c) DPU_SOURCES := $(wildcard dpu/*.c) COMMON_INCLUDES := support @@ -30,7 +31,10 @@ bin/dpu_code: ${DPU_SOURCES} bin/host_code: ${HOST_SOURCES} ${QUIET}${CC} ${HOST_FLAGS} ${HOST_SOURCES} -o $@ +bin/omp_code: ${OMP_SOURCES} + ${QUIET}${CC} ${HOST_FLAGS} -fopenmp ${OMP_SOURCES} -o $@ + clean: - ${QUIET}${RM} -f bin/dpu_code bin/host_code + ${QUIET}${RM} -f bin/dpu_code bin/host_code bin/omp_code .PHONY: all clean -- cgit v1.2.3