Skip to content

Instantly share code, notes, and snippets.

@sling00
Created August 27, 2018 06:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sling00/a9314bab4bd47a0f095993a10ce75e00 to your computer and use it in GitHub Desktop.
Save sling00/a9314bab4bd47a0f095993a10ce75e00 to your computer and use it in GitHub Desktop.
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