Skip to content

Commit 0506a78

Browse files
author
Christian Buchner
committed
compilation fix
1 parent 433d653 commit 0506a78

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Makefile.am

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,7 @@ ccminer_CPPFLAGS = -msse2 @LIBCURL_CPPFLAGS@ @OPENMP_CFLAGS@ $(PTHREAD_FLAGS) -f
3939
# we're now targeting all major compute architectures within one binary.
4040
.cu.o:
4141
$(NVCC) @CFLAGS@ -I . -Xptxas "-abi=no -v" -gencode=arch=compute_20,code=\"sm_20,compute_20\" -gencode=arch=compute_30,code=\"sm_30,compute_30\" -gencode=arch=compute_35,code=\"sm_35,compute_35\" --maxrregcount=80 --ptxas-options=-v $(JANSSON_INCLUDES) -o $@ -c $<
42+
43+
# this module doesn't compile with Compute 2.0 unfortunately
44+
JHA/cuda_jha_compactionTest.o: JHA/cuda_jha_compactionTest.cu
45+
$(NVCC) @CFLAGS@ -I . -Xptxas "-abi=no -v" -gencode=arch=compute_30,code=\"sm_30,compute_30\" -gencode=arch=compute_35,code=\"sm_35,compute_35\" --maxrregcount=80 --ptxas-options=-v $(JANSSON_INCLUDES) -o $@ -c $<

0 commit comments

Comments
 (0)