From 2a4cf28a0068391157e28ec7e996c2414cbab1e4 Mon Sep 17 00:00:00 2001 From: fehrmann <henning.fehrmann@aei.mpg.de> Date: Mon, 8 Feb 2021 13:38:36 +0000 Subject: [PATCH] need hw specific flags --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 77c8230..d69c100 100644 --- a/Makefile +++ b/Makefile @@ -19,8 +19,8 @@ else ifeq ($(GPU), NVIDIA) LDFLAGS_blas = -lcublas LDFLAGS_fftw = -lcufft INCLUDE= -I/usr/lib/x86_64-linux-gnu/openmpi/include/ - CFLAGS = ${INCLUDE} --compile -O3 -pg -Xcompiler -fopenmp -DCUDA - CUDAFLAGS = --Werror cross-execution-space-call --Wno-deprecated-gpu-targets + CFLAGS = ${INCLUDE} -arch sm_70 --compile -O3 -pg -Xcompiler -fopenmp -DCUDA + CUDAFLAGS = -arch sm_70 --Werror cross-execution-space-call --Wno-deprecated-gpu-targets else unknown_HW: endif -- GitLab