Pages:
Author

Topic: CCminer M7 (XCN) by djm34, fixed + optimized for cuda 8 and new cards by PALLAS - page 25. (Read 52608 times)

full member
Activity: 304
Merit: 100
I have a build ready...

https://github.com/sp-hash/ccminer/releases/tag/1.2

Compiled with cuda 6.5. Unmodified sourcecode from Pallas github exept lower the intensity to 256*256*32 to fit 2GB cards.

It does around 5MHASH on the 750ti

unfortunatly 1070 not working correctly - only "booo" for suprnova and Stratum authentication failed for 1GH.com

p.s.
also same for 970

p.p.s  and for 750Ti too
legendary
Activity: 2716
Merit: 1094
Black Belt Developer
I have a build ready...

https://github.com/sp-hash/ccminer/releases/tag/1.2

Compiled with cuda 6.5. Unmodified sourcecode from Pallas github exept lower the intensity to 256*256*32 to fit 2GB cards.

It does around 5MHASH on the 750ti

Thanks!
Now that everyone can use the miner, please donate to myself and sp_.
That would encourage me to continue optimising.
sp_
legendary
Activity: 2926
Merit: 1087
Team Black developer
I have a build ready...

https://github.com/sp-hash/ccminer/releases/tag/1.2

Compiled with cuda 6.5. Unmodified sourcecode from Pallas github exept lower the intensity to 256*256*32 to fit 2GB cards.

It does around 5MHASH on the 750ti
sr. member
Activity: 954
Merit: 250
I can do it tonight. correct and make the windows build. for free.
Wish you no bugs!
sr. member
Activity: 445
Merit: 255
Required dependencies for building on Windows:
pthreads: http://sourceware.org/pthreads-win32/
OpenSSL-Win32: http://slproweb.com/download/Win32OpenSSL-1_0_1e.exe
curl-7.29.0: http://curl.haxx.se/download/curl-7.29.0.zip
or in precompiled form for Visual Studio 2010 SP1 cudaminer_vc2010_prerequisites.7z (49.3 MB) https://mega.co.nz/#!cQQziBrb!HB1fEEcVM7HQuE3HI1ZcV00GCOA6kV4rwmAWkBaMI84

So just add extract these files, and add includepath and libpath into the c++ project file.

You also need to copy the dll's into the release folder to be able to start the miner.

Thank you
sp_
legendary
Activity: 2926
Merit: 1087
Team Black developer
Required dependencies for building on Windows:
pthreads: http://sourceware.org/pthreads-win32/
OpenSSL-Win32: http://slproweb.com/download/Win32OpenSSL-1_0_1e.exe
curl-7.29.0: http://curl.haxx.se/download/curl-7.29.0.zip
or in precompiled form for Visual Studio 2010 SP1 cudaminer_vc2010_prerequisites.7z (49.3 MB) https://mega.co.nz/#!cQQziBrb!HB1fEEcVM7HQuE3HI1ZcV00GCOA6kV4rwmAWkBaMI84

So just add extract these files, and add includepath and libpath into the c++ project file.

You also need to copy the dll's into the release folder to be able to start the miner.
member
Activity: 117
Merit: 10
i can install vs2015 and try to compile, but i don't remeber now all the things needed, aside from cuda 8 and vs2015 what else is needed? all the dependencies i mean

to compile with cuda 7.5 or older you need vs2013. vs2015 isn't supported. Don't know for  cuda 8.

i remember i need something else besides those two things, but maybe i'm wrong, last time i compiled something was in 2014...

some google search lead me to, vs2015 being supported only up to version 1 and with cuda 8 only, version 2 and 3 are not supported
mpir, jansson, pthreads, curl, openssl. For this fork. in sp's fork everything in repo already.
legendary
Activity: 3248
Merit: 1070
i can install vs2015 and try to compile, but i don't remeber now all the things needed, aside from cuda 8 and vs2015 what else is needed? all the dependencies i mean

to compile with cuda 7.5 or older you need vs2013. vs2015 isn't supported. Don't know for  cuda 8.

i remember i need something else besides those two things, but maybe i'm wrong, last time i compiled something was in 2014...

some google search lead me to, vs2015 being supported only up to version 1 and with cuda 8 only, version 2 and 3 are not supported
legendary
Activity: 1510
Merit: 1003
i can install vs2015 and try to compile, but i don't remeber now all the things needed, aside from cuda 8 and vs2015 what else is needed? all the dependencies i mean

to compile with cuda 7.5 or older you need vs2013. vs2015 isn't supported. Don't know for  cuda 8.
sp_
legendary
Activity: 2926
Merit: 1087
Team Black developer
This is what I got while building process using vs2013 and cuda6.5:

Error 1 error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v6.5\bin\nvcc.exe" -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\" --use-local-env --cl-version 2013 -ccbin "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin"  -I"..\mpir-2.6.0\build.vc10\Win32\Release" -I. -Icompat -Icompat\jansson -Icompat\getopt -I"..\pthreads\Pre-built.2\include" -I"..\curl-7.29.0\include" -I"..\OpenSSL-Win32\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v6.5\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v6.5" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v6.5\include"    --keep --keep-dir .\Release\PrepFile -maxrregcount=80 --ptxas-options=-v --machine 32 --compile -cudart static     -DWIN32 -DNDEBUG -D_CONSOLE -D_CRT_SECURE_NO_WARNINGS -DCURL_STATICLIB -DSCRYPT_KECCAK512 -DSCRYPT_CHACHA -DSCRYPT_CHOOSE_COMPILETIME -D_MBCS -Xcompiler "/EHsc /W3 /nologo /O2 /Zi  /MT  " -o Release\cuda_blake256.cu.obj "C:\eth\ccminer-m7-branch-master\Algo256\cuda_blake256.cu"" exited with code 1

any guess? Smiley

Use visual studio 2010?
sr. member
Activity: 445
Merit: 255
I can do it tonight. correct and make the windows build. for free.

Thank you very much
newbie
Activity: 49
Merit: 0
This is what I got while building process using vs2013 and cuda6.5:

Error 1 error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v6.5\bin\nvcc.exe" -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\" --use-local-env --cl-version 2013 -ccbin "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin"  -I"..\mpir-2.6.0\build.vc10\Win32\Release" -I. -Icompat -Icompat\jansson -Icompat\getopt -I"..\pthreads\Pre-built.2\include" -I"..\curl-7.29.0\include" -I"..\OpenSSL-Win32\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v6.5\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v6.5" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v6.5\include"    --keep --keep-dir .\Release\PrepFile -maxrregcount=80 --ptxas-options=-v --machine 32 --compile -cudart static     -DWIN32 -DNDEBUG -D_CONSOLE -D_CRT_SECURE_NO_WARNINGS -DCURL_STATICLIB -DSCRYPT_KECCAK512 -DSCRYPT_CHACHA -DSCRYPT_CHOOSE_COMPILETIME -D_MBCS -Xcompiler "/EHsc /W3 /nologo /O2 /Zi  /MT  " -o Release\cuda_blake256.cu.obj "C:\eth\ccminer-m7-branch-master\Algo256\cuda_blake256.cu"" exited with code 1

any guess? Smiley
legendary
Activity: 3248
Merit: 1070
i can install vs2015 and try to compile, but i don't remeber now all the things needed, aside from cuda 8 and vs2015 what else is needed? all the dependencies i mean
legendary
Activity: 2716
Merit: 1094
Black Belt Developer
Pushed new commit: "Improvements and cleanup for ripemd and tiger, better default intensity, fixed high cpu usage"

If you have a card with less than 2GB, or if it hangs in any way, try a lower intensity.
About cpu usage: it was using 100% before, now it's very low, power consumption reduced significantly.
Hashrate decreased a little bit as well, but overall it's much better.
If you prefer the old 100% cpu behavior, just comment line 242 of x13/m7.cu:

// cudaSetDeviceFlags(cudaDeviceScheduleBlockingSync);
legendary
Activity: 2716
Merit: 1094
Black Belt Developer
If you do manage to make a version 50% faster, that's definitely worth paying for.

The m7 contains kernals that can be optimized 50%, but they use little time so the real effect will only be a few percent. If I fix the windows build it will be without any optimalizations. I will just add a pull request to pallas with a fix.

Thanks Sp_!
Please release the windows binary as well.
sp_
legendary
Activity: 2926
Merit: 1087
Team Black developer
If you do manage to make a version 50% faster, that's definitely worth paying for.

The m7 contains kernals that can be optimized 50%, but they use little time so the real effect will only be a few percent. If I fix the windows build it will be without any optimalizations. I will just add a pull request to pallas with a fix.

Keccak512 in the m7m:

https://github.com/pallas1/ccminer-m7-branch/blob/40445a3aecfbbf1c0122b221867c6400b2dcb771/x13/m7_keccak512.cu

Keccak512 should be rewritten to uint2 like I have done in my fork: (+40%)

https://github.com/sp-hash/ccminer/blob/windows/quark/cuda_quark_keccak512.cu

NVIDIA doesn't have a bitselect instruction, but the compiler likes this structure and generate faster code. The first iteration of the loop should be unrolled because many instructions will be removed. (working on constant data)
member
Activity: 70
Merit: 10
I can do it tonight. correct and make the windows build. for free.

please. i just burned an hour trying to learn minGW and made virtually zero headway before frustrating errors about not having jansson.h and being completely unsure how to resolve that without using linux or otherwise compiling janssons github (within minGW?) bleh.
legendary
Activity: 1750
Merit: 1024
I expected someone like cryptominingblog to compile it as soon as it was released (as he usually does).
I'm sorry but I barely have the time to work on the cuda code.
It's a pity nobody is volountering to do such a routine job (for someone used to it) as compiling this miner for the community.

Yeah, usually CMB does compile things. Guess that means this is still under their radar (and a lot of other peoples).

I can do it tonight. correct and make the windows build. for free.

If you do manage to make a version 50% faster, that's definitely worth paying for.
sp_
legendary
Activity: 2926
Merit: 1087
Team Black developer
I can do it tonight. correct and make the windows build. for free.
legendary
Activity: 2716
Merit: 1094
Black Belt Developer
I expected someone like cryptominingblog to compile it as soon as it was released (as he usually does).
I'm sorry but I barely have the time to work on the cuda code.
It's a pity nobody is volountering to do such a routine job (for someone used to it) as compiling this miner for the community.
Pages:
Jump to: