cuda.mk.in
# cuda.mk[.in]: [Template for] CUDA-support makefile
# "yes" if we have the CUDA toolkit available, and empty otherwise.
HAVE_CUDA=@HAVE_CUDA@
# "yes" if we have the CUDA SDK available, and empty otherwise
HAVE_CUDA_SDK=@HAVE_CUDA_SDK@
# Whether the user explicitly asked us to enable use of CUDA.
# Empty means "no".
ENABLE_CUDA=@ENABLE_CUDA@
ifneq (,$(HAVE_CUDA))
# CUDA compute-capability to use (times ten, to match NVCC's integer-valued
# `-code=` and `-arch=` options).
CUDA_LEVEL=@CUDA_LEVEL@
# CUDA toolkit install directory
CUDA_DIR = @CUDA_DIR@
ifneq (,$(HAVE_CUDA_SDK))
# CUDA SDK install directory
CUDA_SDK_DIR = @CUDA_SDK_DIR@
endif
# Path to the nVidia CUDA compiler
NVCC = @NVCC_PATH@
endif