https://github.com/N-BodyShop/changa
Raw File
Tip revision: 50d5c9d4aff2d32ab4da85e448ef699c16929dec authored by Thomas Quinn on 24 August 2015, 21:49:50 UTC
Temporary fix for Ewald to avoid bad buffers.
Tip revision: 50d5c9d
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