forked from lijiext/lammps
24 lines
562 B
Makefile
24 lines
562 B
Makefile
#CUDA_HOME = $(HOME)/cuda-4.0
|
|
CUDA_HOME = $(HOME)/cuda
|
|
NVCC = $(CUDA_HOME)/bin/nvcc
|
|
|
|
CUDA_ARCH = -arch=sm_20
|
|
CUDA_PRECISION = -D_SINGLE_DOUBLE
|
|
CUDA_INCLUDE = -I$(CUDA_HOME)/include
|
|
CUDA_LIB = -L$(CUDA_HOME)/lib64 -Xlinker -rpath -Xlinker $(CUDA_HOME)/lib64
|
|
CUDA_OPTS = -DUNIX -O3 -Xptxas -v --use_fast_math
|
|
|
|
CUDR_CPP = mpic++ -DMPI_GERYON -DUCL_NO_EXIT -I$(CUDA_HOME)/include
|
|
CUDR_OPTS = -O3 -ffast-math -funroll-loops -DMPI_GERYON
|
|
|
|
BIN_DIR = .
|
|
OBJ_DIR = obj
|
|
LIB_DIR = .
|
|
AR = ar
|
|
BSH = /bin/sh
|
|
|
|
CUDPP_OPT = -DUSE_CUDPP -Icudpp_mini
|
|
|
|
include Nvidia.makefile
|
|
|