Commit 2a4cf28a authored by Henning Fehrmann's avatar Henning Fehrmann Committed by Henning Fehrmann
Browse files

need hw specific flags

parent 72043435
...@@ -19,8 +19,8 @@ else ifeq ($(GPU), NVIDIA) ...@@ -19,8 +19,8 @@ else ifeq ($(GPU), NVIDIA)
LDFLAGS_blas = -lcublas LDFLAGS_blas = -lcublas
LDFLAGS_fftw = -lcufft LDFLAGS_fftw = -lcufft
INCLUDE= -I/usr/lib/x86_64-linux-gnu/openmpi/include/ INCLUDE= -I/usr/lib/x86_64-linux-gnu/openmpi/include/
CFLAGS = ${INCLUDE} --compile -O3 -pg -Xcompiler -fopenmp -DCUDA CFLAGS = ${INCLUDE} -arch sm_70 --compile -O3 -pg -Xcompiler -fopenmp -DCUDA
CUDAFLAGS = --Werror cross-execution-space-call --Wno-deprecated-gpu-targets CUDAFLAGS = -arch sm_70 --Werror cross-execution-space-call --Wno-deprecated-gpu-targets
else else
unknown_HW: unknown_HW:
endif endif
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment