Post
Topic
Board Mining (Altcoins)
Re: SILENTARMY v5: Zcash miner, 115 sol/s on R9 Nano, 70 sol/s on GTX 1070
by
hagie
on 13/11/2016, 20:10:04 UTC
Made a cuda port of actual Silentarmy 5

speeds sucks. 92 s/s on overclocked 1070(opencl version give near 100)

Tested only on linux.

If anyone want

https://github.com/krnlx/nheqminer

too bad it dumped :
Code:
~/aaa/nheqminer/Linux_cmake/nheqminer_cuda_sa$ ./nheqminer_cuda_sa -l eu1-zcash.flypool.org:3333 -u t1M74VKHZDJnHwmwWiHUiMWkBkzgQW4VGeg -cv 0 -cs -cd 0 -t 0

        ==================== www.nicehash.com ====================
                Equihash CPU&GPU Miner for NiceHash vSA5 cuda port by maztheman,krnlx
        Thanks to Zcash developers for providing base of the code.
               Special thanks to tromp, xenoncat, mbevand
                     and eXtremal-ik7 for providing
              optimized CPU, CUDA and AMD equihash solvers.
        ==================== www.nicehash.com ====================

Setting log level to 2
[15:36:43][0x00007f8b99409780] Using SSE2: YES
[15:36:43][0x00007f8b99409780] Using AVX: YES
[15:36:43][0x00007f8b99409780] Using AVX2: NO
[15:36:43][0x00007f8b96069700] stratum | Starting miner
[15:36:43][0x00007f8b96069700] stratum | Connecting to stratum server eu1-zcash.flypool.org:3333
[15:36:43][0x00007f8b95868700] miner#0 | Starting thread #0 (CUDA-SILENTARMY) GRID K520 (#0) BLOCKS=56, THREADS=64
[15:36:43][0x00007f8b96069700] stratum | Connected!
[15:36:43][0x00007f8b96069700] stratum | Subscribed to stratum server
[15:36:43][0x00007f8b96069700] miner | Extranonce is d65d009971
[15:36:43][0x00007f8b96069700] stratum | Authorized worker t1M74VKHZDJnHwmwWiHUiMWkBkzgQW4VGeg
[15:36:43][0x00007f8b96069700] stratum | Target set to 004189374bc6a7ef9db22d0e5604189374bc6a7ef9db22d0e5604189374bc6a7
[15:36:44][0x00007f8b96069700] stratum | Received new job #c1bc667ea1f4a9aea140
Segmentation fault (core dumped)

But it's not the fault of your port - it's the same with the plain nheqminer 0.4b and the cuda_tromp solver. maybe again bad luck with the old computing (30) version.

Regards

Try adding some flags in CMakeLists.txt for older compute capabilities 3.5 or 5.0. For 750Ti i solved it adding 5.0 flags:

set(CUDA_NVCC_FLAGS ${CUDA_NVCC_FLAGS};; -gencode arch=compute_50,code=sm_50;-gencode arch=compute_52,code=sm_52;  -gencode arch=compute_61,code=sm_61 )


afaik the compute version is detected and used - definitions to use 3.0 are in the CMakeList ..

It still dumps - must be something different ..

regards