scrypt: compile also titan kernel with recent SM

This commit is contained in:
Tanguy Pruvot 2015-04-21 16:18:21 +02:00
parent a6d88abbc9
commit ca9ec1b803
2 changed files with 3 additions and 3 deletions

View File

@ -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_50,code=\"sm_50,compute_50\"
nvcc_ARCH += -gencode=arch=compute_52,code=\"sm_52,compute_52\" 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_30,code=\"sm_30,compute_30\"
#nvcc_ARCH = -gencode=arch=compute_20,code=\"sm_21,compute_20\" #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 $< $(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 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 skein.o: skein.cu
$(NVCC) $(nvcc_FLAGS) --maxrregcount=64 -o $@ -c $< $(NVCC) $(nvcc_FLAGS) --maxrregcount=64 -o $@ -c $<

View File

@ -373,7 +373,7 @@
<CodeGeneration>compute_20,sm_21</CodeGeneration> <CodeGeneration>compute_20,sm_21</CodeGeneration>
</CudaCompile> </CudaCompile>
<CudaCompile Include="scrypt\titan_kernel.cu"> <CudaCompile Include="scrypt\titan_kernel.cu">
<CodeGeneration>compute_35,sm_35</CodeGeneration> <CodeGeneration>compute_35,sm_35;compute_50,sm_50</CodeGeneration>
</CudaCompile> </CudaCompile>
<CudaCompile Include="zr5.cu" /> <CudaCompile Include="zr5.cu" />
<CudaCompile Include="heavy\cuda_blake512.cu"> <CudaCompile Include="heavy\cuda_blake512.cu">