Post
Topic
Board Mining (Altcoins)
Re: [ANN] ccminer 2.2.2 - opensource - GPL (tpruvot)
by
The_Immortal
on 05/11/2017, 18:01:29 UTC
Did you use
Code:
-march=native
Nope. As I said before all I made is
3. I edited Makefile.am:

Code:
...

#ccminer_CPPFLAGS += -DUSE_LIBSODIUM
#ccminer_LDFLAGS += -Lequi/lib
#ccminer_LDADD += -lsodium
ccminer_LDADD += -lcuda

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_35,code=\"sm_35,compute_35\"
#nvcc_ARCH += -gencode=arch=compute_30,code=\"sm_30,compute_30\"
#nvcc_ARCH += -gencode=arch=compute_20,code=\"sm_21,compute_20\"

nvcc_FLAGS = $(nvcc_ARCH) @CUDA_INCLUDES@ -I. @CUDA_CFLAGS@
nvcc_FLAGS += $(JANSSON_INCLUDES) --ptxas-options="-v"

...

Should I put
Code:
-march=native
into Makefile.am as well?