Bitcoin Forum
May 11, 2024, 12:33:24 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 [3] 4 5 6 7 8 »  All
  Print  
Author Topic: [XPM] CUDA enabled qt client miner for primecoins. Source code inside. WIP  (Read 31716 times)
gateway
Hero Member
*****
Offline Offline

Activity: 552
Merit: 500


View Profile
July 19, 2013, 08:42:41 PM
 #41

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

"Bitcoin: the cutting edge of begging technology." -- Giraffe.BTC
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
TheSwede75
Full Member
***
Offline Offline

Activity: 224
Merit: 100



View Profile
July 19, 2013, 08:46:59 PM
 #42

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.
loloman
Newbie
*
Offline Offline

Activity: 17
Merit: 0


View Profile
July 19, 2013, 09:45:22 PM
 #43

what about the perfs of this client?
Kouye
Sr. Member
****
Offline Offline

Activity: 336
Merit: 250


Cuddling, censored, unicorn-shaped troll.


View Profile
July 19, 2013, 09:49:50 PM
 #44

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 ?

[OVER] RIDDLES 2nd edition --- this was claimed. Look out for 3rd edition!
I won't ever ask for a loan nor offer any escrow service. If I do, please consider my account as hacked.
gateway
Hero Member
*****
Offline Offline

Activity: 552
Merit: 500


View Profile
July 19, 2013, 10:10:26 PM
 #45

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..
Sunny King
Legendary
*
Offline Offline

Activity: 1205
Merit: 1010



View Profile WWW
July 19, 2013, 10:21:15 PM
 #46

Great initiative and looking forward  Smiley
sumantso
Legendary
*
Offline Offline

Activity: 1050
Merit: 1000



View Profile
July 19, 2013, 10:27:16 PM
 #47

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.

primedigger (OP)
Member
**
Offline Offline

Activity: 75
Merit: 10


View Profile
July 20, 2013, 12:37:07 PM
 #48

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...
alexxy
Sr. Member
****
Offline Offline

Activity: 363
Merit: 250


View Profile
July 20, 2013, 01:11:28 PM
 #49

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
alexxy
Sr. Member
****
Offline Offline

Activity: 363
Merit: 250


View Profile
July 20, 2013, 01:25:20 PM
 #50

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!
tonyback
Sr. Member
****
Offline Offline

Activity: 280
Merit: 250



View Profile
July 20, 2013, 01:48:20 PM
 #51

thanks for this topic
primedigger (OP)
Member
**
Offline Offline

Activity: 75
Merit: 10


View Profile
July 20, 2013, 01:52:31 PM
 #52

The 1000 is an arbitrary limit I put in so that enough candidates are available, thats when the GPU is used the first time.
alexxy
Sr. Member
****
Offline Offline

Activity: 363
Merit: 250


View Profile
July 20, 2013, 01:54:40 PM
 #53

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?
TheSwede75
Full Member
***
Offline Offline

Activity: 224
Merit: 100



View Profile
July 20, 2013, 01:57:47 PM
 #54

Very interesting. Would love to test out once Windows binaries are available.
Vorksholk
Legendary
*
Offline Offline

Activity: 1713
Merit: 1029



View Profile WWW
July 20, 2013, 02:02:39 PM
 #55

I have a 780 I can test on, even if it's just builds that aim to test for performance, not actually mine blocks. Sadly my limited CUDA knowledge doesn't serve me very well here. Sad

VeriBlock: Securing The World's Blockchains Using Bitcoin
https://veriblock.org
hak8or
Full Member
***
Offline Offline

Activity: 172
Merit: 100


View Profile
July 20, 2013, 02:06:33 PM
 #56

This is absolutely awesome! I was wondering why so many were falling for that 1 BTC early access thing, and even without any escrow! I know I should have started to learn cuda months ago, but I chose Ruby for RoR instead, heh.

I will see where I can help out with the non cuda stuff, or maybe throwing in some comments here and there so other dev's can catch up easier, all while learning some cuda on the way. As others have said, you have quite a few people willing to test things out for you. If interested, I might be able to provide you root access to a machine running a 570 GTX.
TheSwede75
Full Member
***
Offline Offline

Activity: 224
Merit: 100



View Profile
July 20, 2013, 02:23:54 PM
 #57

This is absolutely awesome! I was wondering why so many were falling for that 1 BTC early access thing, and even without any escrow! I know I should have started to learn cuda months ago, but I chose Ruby for RoR instead, heh.

I will see where I can help out with the non cuda stuff, or maybe throwing in some comments here and there so other dev's can catch up easier, all while learning some cuda on the way. As others have said, you have quite a few people willing to test things out for you. If interested, I might be able to provide you root access to a machine running a 570 GTX.

+1

I have a GTX 475 SLI 2x setup I can provide root access to as well.
primedigger (OP)
Member
**
Offline Offline

Activity: 75
Merit: 10


View Profile
July 20, 2013, 02:26:04 PM
 #58

If someone wants to help, we need test cases for the cuda mpz functions to be sure that the cuda mpz library works (it's not mine). Also debugging this with gdb (the one from nvidia that can step through gpu execution) would be insightful, to see at which code line it crashes.
alexxy
Sr. Member
****
Offline Offline

Activity: 363
Merit: 250


View Profile
July 20, 2013, 02:37:00 PM
 #59

If someone wants to help, we need test cases for the cuda mpz functions to be sure that the cuda mpz library works (it's not mine). Also debugging this with gdb (the one from nvidia that can step through gpu execution) would be insightful, to see at which code line it crashes.


I can try debuggin it on linux with cuda 5.5

Btw why didnt you use cump library? it seems to be gmp (mpz) compatible
hak8or
Full Member
***
Offline Offline

Activity: 172
Merit: 100


View Profile
July 20, 2013, 02:57:09 PM
 #60

If someone wants to help, we need test cases for the cuda mpz functions to be sure that the cuda mpz library works (it's not mine). Also debugging this with gdb (the one from nvidia that can step through gpu execution) would be insightful, to see at which code line it crashes.

Sadly I haven't the faintest how to work with GDB. Also, adding on to my root access offer, I just remembered that Amazon offers GPU instances! For the life of me I cannot find the GPU option in the instance list though. If anyone gets back to me about this, I can happily offer you a donation to pay for a bit of that instance or I can try to set it up for you.

https://aws.amazon.com/ec2/instance-types/


Quote
CG1 Instances are backed by 2 x Intel Xeon X5570, quad-core with hyperthread plus 2 NVIDIA Tesla M2050 GPUs
Pages: « 1 2 [3] 4 5 6 7 8 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!