From 1f5efa7d3622f7c9efdf0d67e00200483a42e891 Mon Sep 17 00:00:00 2001 From: Tanguy Pruvot Date: Thu, 20 Sep 2018 20:13:31 +0200 Subject: [PATCH] makefile: add new cuda arch and remove sm5.0 by default --- Makefile.am | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index ddfbec6..1d13556 100644 --- a/Makefile.am +++ b/Makefile.am @@ -116,9 +116,11 @@ endif ccminer_LDADD += -lcuda nvcc_ARCH := -#nvcc_ARCH += -gencode=arch=compute_61,code=\"sm_61,compute_61\" +#nvcc_ARCH += -gencode=arch=compute_75,code=\"sm_75,compute_75\" # CUDA 10 req. +#nvcc_ARCH += -gencode=arch=compute_70,code=\"sm_70,compute_70\" # CUDA 9.1 +#nvcc_ARCH += -gencode=arch=compute_61,code=\"sm_61,compute_61\" # CUDA 8 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_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\"