mirror of https://github.com/GOSTSec/ccminer
Tanguy Pruvot
9 years ago
1 changed files with 2 additions and 8 deletions
@ -1,13 +1,7 @@ |
|||||||
# possible additional CUDA_CFLAGS |
# To change the cuda arch, edit Makefile.am and run ./build.sh |
||||||
#-gencode=arch=compute_52,code=\"sm_52,compute_52\" |
|
||||||
#-gencode=arch=compute_50,code=\"sm_50,compute_50\" |
|
||||||
#-gencode=arch=compute_35,code=\"sm_35,compute_35\" |
|
||||||
#-gencode=arch=compute_30,code=\"sm_30,compute_30\" |
|
||||||
|
|
||||||
#--ptxas-options=\"-v -dlcm=cg\"" |
|
||||||
|
|
||||||
extracflags="-march=native -D_REENTRANT -falign-functions=16 -falign-jumps=16 -falign-labels=16" |
extracflags="-march=native -D_REENTRANT -falign-functions=16 -falign-jumps=16 -falign-labels=16" |
||||||
|
|
||||||
CUDA_CFLAGS="-O3 -lineno -Xcompiler -Wall -D_FORCE_INLINES" \ |
CUDA_CFLAGS="-O3 -lineno -Xcompiler -Wall -D_FORCE_INLINES" \ |
||||||
./configure CXXFLAGS="-O3 $extracflags" --with-cuda=/usr/local/cuda-6.5 --with-nvml=libnvidia-ml.so |
./configure CXXFLAGS="-O3 $extracflags" --with-cuda=/usr/local/cuda --with-nvml=libnvidia-ml.so |
||||||
|
|
||||||
|
Loading…
Reference in new issue