From ca9ec1b803531a9acd68bf1969ba027f8ec23cbb Mon Sep 17 00:00:00 2001 From: Tanguy Pruvot Date: Tue, 21 Apr 2015 16:18:21 +0200 Subject: [PATCH] scrypt: compile also titan kernel with recent SM --- Makefile.am | 4 ++-- ccminer.vcxproj | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile.am b/Makefile.am index fd23379..25bb2bf 100644 --- a/Makefile.am +++ b/Makefile.am @@ -80,7 +80,7 @@ ccminer_CPPFLAGS = @LIBCURL_CPPFLAGS@ @OPENMP_CFLAGS@ $(CPPFLAGS) $(PTHREAD_FLAG nvcc_ARCH = -gencode=arch=compute_50,code=\"sm_50,compute_50\" nvcc_ARCH += -gencode=arch=compute_52,code=\"sm_52,compute_52\" -#nvcc_ARCH = -gencode=arch=compute_35,code=\"sm_35,compute_35\" +nvcc_ARCH += -gencode=arch=compute_35,code=\"sm_35,compute_35\" #nvcc_ARCH = -gencode=arch=compute_30,code=\"sm_30,compute_30\" #nvcc_ARCH = -gencode=arch=compute_20,code=\"sm_21,compute_20\" @@ -144,7 +144,7 @@ scrypt/nv_kernel.o: scrypt/nv_kernel.cu $(NVCC) -I. @CUDA_INCLUDES@ @CUDA_CFLAGS@ -gencode=arch=compute_30,code=\"sm_30,compute_30\" -o $@ -c $< scrypt/titan_kernel.o: scrypt/titan_kernel.cu - $(NVCC) -I. @CUDA_INCLUDES@ @CUDA_CFLAGS@ -gencode=arch=compute_35,code=\"sm_35,compute_35\" -o $@ -c $< + $(NVCC) $(nvcc_FLAGS) -gencode=arch=compute_35,code=\"sm_35,compute_35\" -o $@ -c $< skein.o: skein.cu $(NVCC) $(nvcc_FLAGS) --maxrregcount=64 -o $@ -c $< diff --git a/ccminer.vcxproj b/ccminer.vcxproj index a65b345..e05120e 100644 --- a/ccminer.vcxproj +++ b/ccminer.vcxproj @@ -373,7 +373,7 @@ compute_20,sm_21 - compute_35,sm_35 + compute_35,sm_35;compute_50,sm_50