Author

Topic: CCminer(SP-MOD) Modded NVIDIA Maxwell / Pascal kernels. - page 502. (Read 2347659 times)

hero member
Activity: 968
Merit: 624
Still a manic miner
Here it is:
- CPU AVX2 only
- GPU arch SM3.0 - 6.1 this time I have added the most supported CM/SM

https://mega.nz/#!4o43iKBA!5LCdYt1Zlxuf1KHrsPHmteNVVXhrb5_vDPXeT8xCJdA

@Port to VS2015 is now running stable so far. Still hassle the hoff with github :-D

something wrong, by controlling my machine via teamviewer, the miner start but hang there and no response, it seems that it's not working at all

ok fixed it was -cs and cv 0, what are those btw what they do?

it happened the same here... what are the right switches? -cs ? -cv ?
full member
Activity: 243
Merit: 105
@krnlx

Btw you can add in param.h the optimization of extermal from yesterday..

They are already there

The last opt. are a bit different..diff your param.h against last of extermal..and wush..there are differences.

Hitting 456sol/s now :-D

I changed only
Code:
#define LDS_COLL_SIZE (NR_SLOTS * 20 * (64 / THREADS_PER_ROW))

because it is faster with this one(1070)
legendary
Activity: 3248
Merit: 1072
Here it is:
- CPU AVX2 only
- GPU arch SM3.0 - 6.1 this time I have added the most supported CM/SM

https://mega.nz/#!4o43iKBA!5LCdYt1Zlxuf1KHrsPHmteNVVXhrb5_vDPXeT8xCJdA

@Port to VS2015 is now running stable so far. Still hassle the hoff with github :-D

something wrong, by controlling my machine via teamviewer, the miner start but hang there and no response, it seems that it's not working at all

ok fixed it was -cs and cv 0, what are those btw what they do?
sr. member
Activity: 574
Merit: 250
Fighting mob law and inquisition in this forum
@krnlx

Btw you can add in param.h the optimization of extermal from yesterday..

They are already there

The last opt. are a bit different..diff your param.h against last of extermal..and wush..there are differences.

Hitting 456sol/s now :-D
full member
Activity: 243
Merit: 105
@krnlx

Btw you can add in param.h the optimization of extermal from yesterday..

They are already there
sr. member
Activity: 574
Merit: 250
Fighting mob law and inquisition in this forum
@krnlx
Okay good to know..well lets see what test of those users will show.
I noticed the change to use atmoics the Cuda Profile looks much better in usuage..during the rounds.
It also loweres the power consumption ..its good optimization

Btw you can add in param.h the optimization of extermal from yesterday..
member
Activity: 73
Merit: 10
tried to make my "own" port with krlnx help

https://mega.nz/#!4csV3JjY!RcslqSzlofgFOnyanga2T9wsfc0LmA08Hz8i5TtBl-o

based on tpruvot release and krlnx changes
full member
Activity: 243
Merit: 105
Here it is:
- CPU AVX2 only
- GPU arch SM3.0 - 6.1 this time I have added the most supported CM/SM

https://mega.nz/#!4o43iKBA!5LCdYt1Zlxuf1KHrsPHmteNVVXhrb5_vDPXeT8xCJdA

@Port to VS2015 is now running stable so far. Still hassle the hoff with github :-D


It works well only on SM5.0+ cards, because of use  shared atomics. For older cards, SAv4 is more fast
sr. member
Activity: 574
Merit: 250
Fighting mob law and inquisition in this forum
Here it is:
- CPU AVX2 only
- GPU arch SM3.0 - 6.1 this time I have added the most supported CM/SM

https://mega.nz/#!4o43iKBA!5LCdYt1Zlxuf1KHrsPHmteNVVXhrb5_vDPXeT8xCJdA

@Port to VS2015 is now running stable so far. Still hassle the hoff with github :-D
sr. member
Activity: 574
Merit: 250
Fighting mob law and inquisition in this forum
Okay build runs stable I have also ported to VS2015. Try to upload on github..the frist time I use it..
legendary
Activity: 2716
Merit: 1094
Black Belt Developer

./nheqminer_cuda_sa NICEHASH -t 0 -cd 0 1 2 -cv 1


Yep.. options are incorrect.

Try these one

./nheqminer_cuda_sa -t 0 -cv 0 -cd 0 1 2 3 4 5 -cs -l SERVER:PORT -u USERNAME



-cs -cv 0

did the trick, thanks! :-)
sr. member
Activity: 574
Merit: 250
Fighting mob law and inquisition in this forum
The hashing is much faster from 370 to 415 as I'm writing this ..wow.
Same setup 4 cards 2GTX1080 2 GTX1070..I do not have time for single card benches. sorry

Code:
11:42:37][0x000018d4] Speed [300 sec]: 222.67 I/s, 415.523 Sols/s
[11:42:45][0x00003580] stratum | Submitting share #75, nonce 0000000000000000000000000200000000000000000000000000306e
[11:42:45][0x00003ab4] stratum | Accepted share #75
[11:42:48][0x000018d4] Speed [300 sec]: 223.667 I/s, 417.363 Sols/s
[11:42:53][0x00000fb4] stratum | Submitting share #76, nonce 00000000000000000000000001000000000000000000000000003674
[11:42:53][0x00003ab4] stratum | Accepted share #76
[11:42:55][0x00000fb4] stratum | Submitting share #77, nonce 000000000000000000000000010000000000000000000000000036cf
[11:42:55][0x00003ab4] stratum | Accepted share #77
[11:42:58][0x000018d4] Speed [300 sec]: 224.53 I/s, 419.007 Sols/s
[11:43:01][0x00003248] stratum | Submitting share #78, nonce 00000000000000000000000004000000000000000000000000001523
[11:43:01][0x00003ab4] stratum | Accepted share #78
[11:43:03][0x00003248] stratum | Submitting share #79, nonce 00000000000000000000000004000000000000000000000000001554
[11:43:03][0x00003ab4] stratum | Accepted share #79
[11:43:06][0x00003580] stratum | Submitting share #80, nonce 000000000000000000000000020000000000000000000000000034f2
[11:43:06][0x00003ab4] stratum | Accepted share #80
[11:43:09][0x000018d4] Speed [300 sec]: 224.677 I/s, 419.35 Sols/s
[11:43:20][0x000018d4] Speed [300 sec]: 224.143 I/s, 418.397 Sols/s
[11:43:26][0x00003580] stratum | Submitting share #81, nonce 0000000000000000000000000200000000000000000000000000394b
[11:43:26][0x00003ab4] stratum | Accepted share #81
[11:43:30][0x00003580] stratum | Submitting share #82, nonce 00000000000000000000000002000000000000000000000000003a27
[11:43:30][0x00003ab4] stratum | Accepted share #82
[11:43:30][0x000018d4] Speed [300 sec]: 223.843 I/s, 417.83 Sols/s

Powerdraw is also back from 750watts to 650Watts in OC mode..ice nice krnlx good work
full member
Activity: 243
Merit: 105

./nheqminer_cuda_sa NICEHASH -t 0 -cd 0 1 2 -cv 1


Yep.. options are incorrect.

Try these one

./nheqminer_cuda_sa -t 0 -cv 0 -cd 0 1 2 3 4 5 -cs -l SERVER:PORT -u USERNAME

member
Activity: 73
Merit: 10
Okay done porting I got it working :-D
then tell me, please, how to fix this ulong error ?
legendary
Activity: 3248
Merit: 1072
Okay done porting I got it working :-D

what is the hashrate with this last porting? can you upload it, you have a github?
sr. member
Activity: 574
Merit: 250
Fighting mob law and inquisition in this forum
Okay done porting I got it working :-D
sr. member
Activity: 574
Merit: 250
Fighting mob law and inquisition in this forum
Yes you can't just copy..the info of krnlx is crappy :-D
Code:
1>------ Build started: Project: cuda_silentarmy, Configuration: Release x64 ------
1>  Compiling CUDA source file kernel.cu...
1>
1>  X:\Mining\sources\nheqminer-cuda-silentarmy\cuda_silentarmy>"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\bin\nvcc.exe" -gencode=arch=compute_61,code=\"sm_61,compute_61\" -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\" --use-local-env --cl-version 2015 -ccbin "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64"  -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\include"     --keep-dir x64\Release -maxrregcount=0 --ptxas-options=-v --machine 64 --compile -cudart static     -DWIN32 -DWIN64 -D_LIB -DNDEBUG -D_CONSOLE -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W3 /nologo /O2 /FS /Zi  /MD " -o x64\Release\kernel.cu.obj "X:\Mining\sources\nheqminer-cuda-silentarmy\cuda_silentarmy\kernel.cu"
1>x:\mining\sources\nheqminer-cuda-silentarmy\cuda_silentarmy\param.h(102): error : identifier "uint" is undefined
1>x:\mining\sources\nheqminer-cuda-silentarmy\cuda_silentarmy\param.h(103): error : identifier "uint" is undefined
1>x:\mining\sources\nheqminer-cuda-silentarmy\cuda_silentarmy\param.h(104): error : identifier "uchar" is undefined
1>x:\mining\sources\nheqminer-cuda-silentarmy\cuda_silentarmy\param.h(105): error : identifier "uint" is undefined
1>X:/Mining/sources/nheqminer-cuda-silentarmy/cuda_silentarmy/kernel.cu(76): error : identifier "ulong" is undefined
1>X:/Mining/sources/nheqminer-cuda-silentarmy/cuda_silentarmy/kernel.cu(102): error : identifier "uint" is undefined
1>X:/Mining/sources/nheqminer-cuda-silentarmy/cuda_silentarmy/kernel.cu(109): error : identifier "uint" is undefined
1>X:/Mining/sources/nheqminer-cuda-silentarmy/cuda_silentarmy/kernel.cu(109): error : identifier "uint" is undefined
1>X:/Mining/sources/nheqminer-cuda-silentarmy/cuda_silentarmy/kernel.cu(109): error : identifier "uint" is undefined
1>X:/Mining/sources/nheqminer-cuda-silentarmy/cuda_silentarmy/kernel.cu(110): error : identifier "ulong" is undefined
1>X:/Mining/sources/nheqminer-cuda-silentarmy/cuda_silentarmy/kernel.cu(110): error : identifier "ulong" is undefined
1>X:/Mining/sources/nheqminer-cuda-silentarmy/cuda_silentarmy/kernel.cu(110): error : identifier "ulong" is undefined
1>X:/Mining/sources/nheqminer-cuda-silentarmy/cuda_silentarmy/kernel.cu(110): error : identifier "ulong" is undefined
1>X:/Mining/sources/nheqminer-cuda-silentarmy/cuda_silentarmy/kernel.cu(110): error : identifier "uint" is undefined
1>X:/Mining/sources/nheqminer-cuda-silentarmy/cuda_silentarmy/kernel.cu(112): error : identifier "uint" is undefined
1>X:/Mining/sources/nheqminer-cuda-silentarmy/cuda_silentarmy/kernel.cu(114): error : identifier "uint" is undefined
1>X:/Mining/sources/nheqminer-cuda-silentarmy/cuda_silentarmy/kernel.cu(153): error : identifier "uint" is undefined
1>X:/Mining/sources/nheqminer-cuda-silentarmy/cuda_silentarmy/kernel.cu(154): error : identifier "uint" is undefined
1>X:/Mining/sources/nheqminer-cuda-silentarmy/cuda_silentarmy/kernel.cu(155): error : identifier "uint" is undefined
1>X:/Mining/sources/nheqminer-cuda-silentarmy/cuda_silentarmy/kernel.cu(166): error : identifier "uint" is undefined
1>X:/Mining/sources/nheqminer-cuda-silentarmy/cuda_silentarmy/kernel.cu(166): error : expected an expression
1>X:/Mining/sources/nheqminer-cuda-silentarmy/cuda_silentarmy/kernel.cu(170): error : identifier "ulong" is undefined
1>X:/Mining/sources/nheqminer-cuda-silentarmy/cuda_silentarmy/kernel.cu(170): error : expected an expression
1>X:/Mining/sources/nheqminer-cuda-silentarmy/cuda_silentarmy/kernel.cu(171): error : expected an expression
1>X:/Mining/sources/nheqminer-cuda-silentarmy/cuda_silentarmy/kernel.cu(172): error : expected an expression
1>X:/Mining/sources/nheqminer-cuda-silentarmy/cuda_silentarmy/kernel.cu(177): error : expected an expression
1>X:/Mining/sources/nheqminer-cuda-silentarmy/cuda_silentarmy/kernel.cu(178): error : identifier "ulong" is undefined
1>X:/Mining/sources/nheqminer-cuda-silentarmy/cuda_silentarmy/kernel.cu(178): error : expected an expression
1>X:/Mining/sources/nheqminer-cuda-silentarmy/cuda_silentarmy/kernel.cu(179): error : expected an expression
1>X:/Mining/sources/nheqminer-cuda-silentarmy/cuda_silentarmy/kernel.cu(184): error : expected an expression
1>X:/Mining/sources/nheqminer-cuda-silentarmy/cuda_silentarmy/kernel.cu(185): error : identifier "ulong" is undefined
1>X:/Mining/sources/nheqminer-cuda-silentarmy/cuda_silentarmy/kernel.cu(185): error : expected an expression
1>X:/Mining/sources/nheqminer-cuda-silentarmy/cuda_silentarmy/kernel.cu(186): error : expected an expression
1>X:/Mining/sources/nheqminer-cuda-silentarmy/cuda_silentarmy/kernel.cu(191): error : identifier "ulong" is undefined
1>X:/Mining/sources/nheqminer-cuda-silentarmy/cuda_silentarmy/kernel.cu(191): error : expected an expression
1>X:/Mining/sources/nheqminer-cuda-silentarmy/cuda_silentarmy/kernel.cu(192): error : expected an expression
1>X:/Mining/sources/nheqminer-cuda-silentarmy/cuda_silentarmy/kernel.cu(197): error : identifier "ulong" is undefined
1>X:/Mining/sources/nheqminer-cuda-silentarmy/cuda_silentarmy/kernel.cu(197): error : expected an expression
1>X:/Mining/sources/nheqminer-cuda-silentarmy/cuda_silentarmy/kernel.cu(198): error : expected an expression
1>X:/Mining/sources/nheqminer-cuda-silentarmy/cuda_silentarmy/kernel.cu(203): error : expected an expression
1>X:/Mining/sources/nheqminer-cuda-silentarmy/cuda_silentarmy/kernel.cu(204): error : expected an expression
1>X:/Mining/sources/nheqminer-cuda-silentarmy/cuda_silentarmy/kernel.cu(209): error : expected an expression
1>X:/Mining/sources/nheqminer-cuda-silentarmy/cuda_silentarmy/kernel.cu(228): error : attribute "__global__" does not apply here
1>X:/Mining/sources/nheqminer-cuda-silentarmy/cuda_silentarmy/kernel.cu(229): error : incomplete type is not allowed
1>X:/Mining/sources/nheqminer-cuda-silentarmy/cuda_silentarmy/kernel.cu(229): error : identifier "ulong" is undefined
1>X:/Mining/sources/nheqminer-cuda-silentarmy/cuda_silentarmy/kernel.cu(229): error : identifier "blake_state" is undefined
1>X:/Mining/sources/nheqminer-cuda-silentarmy/cuda_silentarmy/kernel.cu(229): error : expected a ")"
1>X:/Mining/sources/nheqminer-cuda-silentarmy/cuda_silentarmy/kernel.cu(231): error : expected a ";"
1>X:/Mining/sources/nheqminer-cuda-silentarmy/cuda_silentarmy/kernel.cu(252): warning : parsing restarts here after previous syntax error
1>X:/Mining/sources/nheqminer-cuda-silentarmy/cuda_silentarmy/kernel.cu(253): error : this declaration has no storage class or type specifier
1>X:/Mining/sources/nheqminer-cuda-silentarmy/cuda_silentarmy/kernel.cu(253): error : initialization with "{...}" expected for aggregate object
1>X:/Mining/sources/nheqminer-cuda-silentarmy/cuda_silentarmy/kernel.cu(254): error : this declaration has no storage class or type specifier
1>X:/Mining/sources/nheqminer-cuda-silentarmy/cuda_silentarmy/kernel.cu(254): error : variable "v" has already been defined
1>X:/Mining/sources/nheqminer-cuda-silentarmy/cuda_silentarmy/kernel.cu(254): error : initialization with "{...}" expected for aggregate object
1>X:/Mining/sources/nheqminer-cuda-silentarmy/cuda_silentarmy/kernel.cu(255): error : this declaration has no storage class or type specifier
1>X:/Mining/sources/nheqminer-cuda-silentarmy/cuda_silentarmy/kernel.cu(255): error : variable "v" has already been defined
1>X:/Mining/sources/nheqminer-cuda-silentarmy/cuda_silentarmy/kernel.cu(255): error : initialization with "{...}" expected for aggregate object
1>X:/Mining/sources/nheqminer-cuda-silentarmy/cuda_silentarmy/kernel.cu(256): error : this declaration has no storage class or type specifier
1>X:/Mining/sources/nheqminer-cuda-silentarmy/cuda_silentarmy/kernel.cu(256): error : variable "v" has already been defined
1>X:/Mining/sources/nheqminer-cuda-silentarmy/cuda_silentarmy/kernel.cu(256): error : initialization with "{...}" expected for aggregate object
1>X:/Mining/sources/nheqminer-cuda-silentarmy/cuda_silentarmy/kernel.cu(257): error : this declaration has no storage class or type specifier
1>X:/Mining/sources/nheqminer-cuda-silentarmy/cuda_silentarmy/kernel.cu(257): error : variable "v" has already been defined
1>X:/Mining/sources/nheqminer-cuda-silentarmy/cuda_silentarmy/kernel.cu(257): error : initialization with "{...}" expected for aggregate object
1>X:/Mining/sources/nheqminer-cuda-silentarmy/cuda_silentarmy/kernel.cu(258): error : this declaration has no storage class or type specifier
1>X:/Mining/sources/nheqminer-cuda-silentarmy/cuda_silentarmy/kernel.cu(258): error : variable "v" has already been defined
1>X:/Mining/sources/nheqminer-cuda-silentarmy/cuda_silentarmy/kernel.cu(258): error : initialization with "{...}" expected for aggregate object
legendary
Activity: 2716
Merit: 1094
Black Belt Developer
Updated cuda port with latest changes.

Code:
https://github.com/krnlx/nheqminer

~110+ on mem overclocked 1070

still nothing for me:

[09:32:01][0x00007f7d4cc96740] Speed [300 sec]: 0 I/s, 0 Sols/s

it just doesn't run anything on the cards.

cuda_tromp is working fine (on the original code).
silentarmy also works fine.

Can you post full log with start command options ?

Anyway, did you try https://github.com/tpruvot/nheqminer version ? You can replace kerne.cu and param.h from my repo, it is fully compatible

        ==================== 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
[09:31:51][0x00007f7d4cc96740] Using SSE2: YES
[09:31:51][0x00007f7d4cc96740] Using AVX: YES
[09:31:51][0x00007f7d4cc96740] Using AVX2: NO
[09:31:51][0x00007f7d4aec9700] stratum | Starting miner
[09:31:51][0x00007f7d4aec9700] stratum | Connecting to stratum server equihash.eu.nicehash.com:3357
[09:31:51][0x00007f7d49ec7700] miner#1 | Starting thread #1 (cuda_tromp_75_STUB)
[09:31:51][0x00007f7d4a6c8700] miner#0 | Starting thread #0 (cuda_tromp_75_STUB)
[09:31:51][0x00007f7d496c6700] miner#2 | Starting thread #2 (cuda_tromp_75_STUB)
[09:31:51][0x00007f7d4aec9700] stratum | Connected!
[09:31:52][0x00007f7d4aec9700] stratum | Subscribed to stratum server
[09:31:52][0x00007f7d4aec9700] miner | Extranonce is fca7025000000000000000005002a7fd72
[09:31:52][0x00007f7d4aec9700] stratum | Authorized worker XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
[09:31:52][0x00007f7d4aec9700] stratum | Target set to 00f0f0f0f0000000000000000000000000000000000000000000000000000000
[09:31:52][0x00007f7d4aec9700] stratum | Received new job #0000003e51ddb9fa
[09:32:01][0x00007f7d4cc96740] Speed [300 sec]: 0 I/s, 0 Sols/s
[09:32:05][0x00007f7d4aec9700] miner | Extranonce is e8aafc0f00000000000000000ffcaae744
[09:32:05][0x00007f7d4aec9700] stratum | Target set to 00f0f0f0f0000000000000000000000000000000000000000000000000000000
[09:32:05][0x00007f7d4aec9700] stratum | Received new job #0000003e51ddbc67

./nheqminer_cuda_sa NICEHASH -t 0 -cd 0 1 2 -cv 1
member
Activity: 73
Merit: 10
Updated cuda port with latest changes.

Code:
https://github.com/krnlx/nheqminer

~110+ on mem overclocked 1070

still nothing for me:

[09:32:01][0x00007f7d4cc96740] Speed [300 sec]: 0 I/s, 0 Sols/s

it just doesn't run anything on the cards.

cuda_tromp is working fine (on the original code).
silentarmy also works fine.

Can you post full log with start command options ?

Anyway, did you try https://github.com/tpruvot/nheqminer version ? You can replace kerne.cu and param.h from my repo, it is fully compatible

Thanks I'm already ported your code into the repo of KlausT and compile for Windows :-D
Can you, please, upload compiled version of this ? For some reason i dont have any problem with tpruvot or KlausT releases, but having problem with krnlx release and even if i just copy kerne.cu and param.h, it still not work, saying, that he cant found *.h files. Thanks!
sr. member
Activity: 574
Merit: 250
Fighting mob law and inquisition in this forum
Updated cuda port with latest changes.

Code:
https://github.com/krnlx/nheqminer

~110+ on mem overclocked 1070

still nothing for me:

[09:32:01][0x00007f7d4cc96740] Speed [300 sec]: 0 I/s, 0 Sols/s

it just doesn't run anything on the cards.

cuda_tromp is working fine (on the original code).
silentarmy also works fine.

Can you post full log with start command options ?

Anyway, did you try https://github.com/tpruvot/nheqminer version ? You can replace kerne.cu and param.h from my repo, it is fully compatible

Thanks I'm already ported your code into the repo of KlausT and compile for Windows :-D
Not easy switching because of your mm_alloc.h which is not existent for Windows
Jump to: