Commit 4102189a authored by Karl Wette's avatar Karl Wette
Browse files

Add standard Automake variables with preprocessor flags to nvcc command line

parent a5376436
if CUDA
SUFFIXES = .cu .cpp
.cu.cpp:
$(AM_V_GEN)$(NVCC) --cuda $(AM_CPPFLAGS) $(CPPFLAGS) $(NVCC_CFLAGS) --output-file $@ $<
$(AM_V_GEN)$(NVCC) --cuda $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(NVCC_CFLAGS) --output-file $@ $<
endif
Markdown is supported
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