https://github.com/N-BodyShop/changa
Raw File
Tip revision: b2e42b64a20e88d6ba564d3bcc08944b354eeb7e authored by Tom Quinn on 13 March 2019, 08:51:09 UTC
HostCUDA.cu: cleanup unused variables.
Tip revision: b2e42b6
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
back to top