diff --git a/DESCRIPTION b/DESCRIPTION index 30aa3dc..7347a28 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -2,7 +2,7 @@ Package: fbseqCUDA Title: fbseqCUDA Description: Internal CUDA code for package fbseq. URL: https://github.com/wlandau/fbseqCUDA -Version: 0.0 +Version: 0.1 Author: Will Landau Maintainer: Will Landau Depends: diff --git a/src/Makevars b/src/Makevars index 3a291a6..061d956 100644 --- a/src/Makevars +++ b/src/Makevars @@ -6,7 +6,11 @@ R_INC = ${R_HOME}/include NVCC = ${CUDA_HOME}/bin/nvcc CUDA_INC = ${CUDA_HOME}/include PKG_LIBS = -L${CUDA_HOME}/lib64 -Wl,-rpath,${CUDA_HOME}/lib64 -lcuda -lcudart -NVCC_FLAGS = -x cu -I${R_INC} -Xcompiler "-fPIC" -gencode arch=compute_20,code=sm_20 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 +NVCC_FLAGS = --machine 64 -x cu -I${R_INC} -Xcompiler "-fPIC" \ + -gencode arch=compute_30,code=sm_30 \ + -gencode arch=compute_35,code=sm_35 \ + -gencode arch=compute_50,code=sm_50 \ + -gencode arch=compute_50,code=compute_50 OBJECTS= fbseqCUDA.o