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)
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
......
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