Build Win64 with CUDA 9.1 for Pascal and Volta 52/4552/1
authorJim Phillips <jim@ks.uiuc.edu>
Fri, 7 Sep 2018 18:50:52 +0000 (13:50 -0500)
committerJim Phillips <jim@ks.uiuc.edu>
Fri, 7 Sep 2018 18:50:52 +0000 (13:50 -0500)
Change-Id: Ie4232bb8b46109a8e18098addb7dbfbb9d21ad8d

arch/Win64.cuda

index 95784fd..c7fa84e 100644 (file)
@@ -1,16 +1,16 @@
 
-CUDADIR=/cygdrive/c/PROGRA~1/NVIDIA~2/CUDA/v6.5
+CUDADIR=/cygdrive/c/PROGRA~1/NVIDIA~2/CUDA/v9.1
 CUDAINCL=-I$(CUDADIR)/include
 CUBDIR=`cygpath -d .rootdir/cub`
 CUBINCL=-I$(CUBDIR)
 CUDALIB=-L$(CUDADIR)/lib/x64 -lcudart_static -lcufft
 CUDASODIR=$(CUDADIR)/bin
-LIBCUDARTSO=cudart64_65.dll
-LIBCUFFTSO=cufft64_65.dll
+LIBCUDARTSO=cudart64_91.dll
+LIBCUFFTSO=cufft64_91.dll
 CUDAFLAGS=-DNAMD_CUDA
 CUDAOBJS=$(CUDAOBJSRAW)
 NATIVEPATH=cygpath -d
 CUDA=$(CUDAFLAGS) -I. $(CUDAINCL) $(CUBINCL)
 CUDACC=$(CUDADIR)/bin/nvcc -DWIN32 -DWIN64 --keep --keep-dir obj -O3 --maxrregcount 48 $(CUDAGENCODE) -m64 $(CUDA)
-CUDAGENCODE=-gencode arch=compute_30,code=sm_30 -gencode arch=compute_30,code=compute_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_35,code=compute_35 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_50,code=compute_50
+CUDAGENCODE=-gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_37,code=sm_37 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_52,code=sm_52 -gencode arch=compute_60,code=sm_60 -gencode arch=compute_61,code=sm_61 -gencode arch=compute_61,code=compute_61 -gencode arch=compute_70,code=sm_70 -gencode arch=compute_70,code=compute_70