diff --git a/Makefile b/Makefile index 77c82306d54372b2405ec98a8d89e8e000bcd537..d69c100b4f767fb30d7d9c52f8228f6e4ed834e8 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