Pages:
Author

Topic: [XPM] CUDA enabled qt client miner for primecoins. Source code inside. WIP - page 6. (Read 31772 times)

sr. member
Activity: 363
Merit: 250
The 1000 is an arbitrary limit I put in so that enough candidates are available, thats when the GPU is used the first time.

Are you interesting in makefiles for cuda enabled version?

PS is it intened to allow it to work only for sm_20+ devices?
member
Activity: 75
Merit: 10
The 1000 is an arbitrary limit I put in so that enough candidates are available, thats when the GPU is used the first time.
sr. member
Activity: 280
Merit: 250
sr. member
Activity: 363
Merit: 250
Aha

Seems like it starts failing if more then 1000 prime chain candidates found

Code:
Cuda finished
Added 361 addresses from 199.83.89.217: 180 tried, 12837 new
Added 199 addresses from 199.83.89.217: 180 tried, 12827 new
Have 1314 candidates after main loop
[0] start
[0] candidate is 1edf6ebf2abf2b6396b2f78eacddc21a2f9c0b963356d861e2035aa210ed01e094668
[0] mpz init done!
sr. member
Activity: 363
Merit: 250
Github-link: http://github.com/primedigger/primecoin

update: added a stroxl function from http://www.jbox.dk/sanos/

The code still needs a lot of debugging and the mpz cuda library + string functions a lot of testing, if any CUDA developer wants to give it a chance, go for it!

Weather is too good outside to continue this now...

Code compiles with some makefiles modifications but fails near imidiently with memory errors

Code:

Cuda finished
Have 250 candidates after main loop
Cuda finished
Have 344 candidates after main loop
Cuda finished
Have 312 candidates after main loop
Cuda finished
Have 1235 candidates after main loop
Cuda error: cudaMemcpy: cudaMemcpyDeviceToHost, unspecified launch failure


Also current code will only works with sm_20 and higher devices
member
Activity: 75
Merit: 10
Github-link: http://github.com/primedigger/primecoin

update: added a stroxl function from http://www.jbox.dk/sanos/

The code still needs a lot of debugging and the mpz cuda library + string functions a lot of testing, if any CUDA developer wants to give it a chance, go for it!

Weather is too good outside to continue this now...
legendary
Activity: 1050
Merit: 1000
Nice work OP. I will just wait for the nice folks to provide a one-click Windows 7 miner  Cool

Meanwhile I have to find my nVIDIA GPU and see whether its alive. I think it was a 8400.
legendary
Activity: 1205
Merit: 1010
Great initiative and looking forward  Smiley
hero member
Activity: 552
Merit: 500
anyone here working with him? .. seems like he wants devs to step up and work on a client with him, asking if its done or something is prob not the right thing here..
sr. member
Activity: 336
Merit: 250
Cuddling, censored, unicorn-shaped troll.
what about the perfs of this client?
Insane perfs. As soon as you gracefully push your BigInt lightning fast and reliable cuda library.
Any ETA on that ?
newbie
Activity: 17
Merit: 0
what about the perfs of this client?
full member
Activity: 224
Merit: 100
have you seen the cuda gmp pdf?
http://individual.utoronto.ca/haojunliu/courses/ECE1724_Report.pdf

cheers on not being greedy, btw i have many nvidia cards sitting idle here in our office Smiley



Very much agree. A public release to a larger group of people is the best for Primecoin.
hero member
Activity: 552
Merit: 500
have you seen the cuda gmp pdf?
http://individual.utoronto.ca/haojunliu/courses/ECE1724_Report.pdf

cheers on not being greedy, btw i have many nvidia cards sitting idle here in our office Smiley

hero member
Activity: 560
Merit: 500
I also have several nvidia cards around to test on. Just 2x 240's but hey its testing isn't it? lol

I have a 550Ti I can run it on
590 and 680 ready and waiting
sr. member
Activity: 473
Merit: 250
I also have several nvidia cards around to test on. Just 2x 240's but hey its testing isn't it? lol

I have a 550Ti I can run it on
sr. member
Activity: 441
Merit: 250
I also have several nvidia cards around to test on. Just 2x 240's but hey its testing isn't it? lol
sr. member
Activity: 473
Merit: 250
I have a few nVidia cards I would be happy to test early betas on.

Ditto.

Thank you for taking on this project.

DoubleDitto
full member
Activity: 224
Merit: 100
I have a few nVidia cards I would be happy to test early betas on.

Ditto.

Thank you for taking on this project.

Have to mention that I prefer a Win 7 x64 build over Linux since I run Win 7 native and VM's tend to be quite a bit slower.
hero member
Activity: 644
Merit: 501
I have a few nVidia cards I would be happy to test early betas on.

Ditto.

Thank you for taking on this project.
full member
Activity: 178
Merit: 100
Pages:
Jump to: