Created
August 27, 2018 06:05
-
-
Save sling00/a9314bab4bd47a0f095993a10ce75e00 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Makefile.am b/Makefile.am | |
index ddfbec6..f8b2d69 100644 | |
--- a/Makefile.am | |
+++ b/Makefile.am | |
@@ -116,11 +116,12 @@ endif | |
ccminer_LDADD += -lcuda | |
nvcc_ARCH := | |
-#nvcc_ARCH += -gencode=arch=compute_61,code=\"sm_61,compute_61\" | |
+nvcc_ARCH += -gencode=arch=compute_70,code=\"sm_70,compute_70\" | |
+nvcc_ARCH += -gencode=arch=compute_61,code=\"sm_61,compute_61\" | |
nvcc_ARCH += -gencode=arch=compute_52,code=\"sm_52,compute_52\" | |
nvcc_ARCH += -gencode=arch=compute_50,code=\"sm_50,compute_50\" | |
-#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_35,code=\"sm_35,compute_35\" | |
+nvcc_ARCH += -gencode=arch=compute_30,code=\"sm_30,compute_30\" | |
nvcc_FLAGS = $(nvcc_ARCH) @CUDA_INCLUDES@ -I. @CUDA_CFLAGS@ | |
nvcc_FLAGS += $(JANSSON_INCLUDES) --ptxas-options="-v" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment