Author Topic: OpenCL GPU miner opensource (for AMD cards)  (Read 33333 times)

0 Members and 1 Guest are viewing this topic.

Offline earthbound

  • Full Member
  • ***
  • Posts: 120
    • View Profile
    • earthbound.io
Re: OpenCL GPU miner opensource (for AMD cards)
« Reply #11 on: January 11, 2014, 12:15:40 am »
What setting need type to poolmining?

This does not mine (it does not connect to any pools). It is a prototype (benchmark) compile with source code. The freely available code is begging to be integrated into a full-blown miner. (Please see the thread I link to in my second post in this thread.)
« Last Edit: January 11, 2014, 12:17:27 am by earthbound »
I think I'm not alone when I say I'd like to see more and more planets fall under the ruthless dominion of our solar system. -Jack Handey

Offline voffka05

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: OpenCL GPU miner opensource (for AMD cards)
« Reply #10 on: January 10, 2014, 09:14:53 pm »
What setting need type to poolmining?

Offline earthbound

  • Full Member
  • ***
  • Posts: 120
    • View Profile
    • earthbound.io
Re: OpenCL GPU miner opensource (for AMD cards)
« Reply #9 on: January 10, 2014, 09:06:25 pm »
Dunno. Maybe you need to install the AMD App SDK and/or the newest driver for your card?
I think I'm not alone when I say I'd like to see more and more planets fall under the ruthless dominion of our solar system. -Jack Handey

Offline sircotra

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: OpenCL GPU miner opensource (for AMD cards)
« Reply #8 on: January 10, 2014, 08:24:15 pm »
Hi, i'm trying to execute "momentum_gpu.exe" in "Release" folder but i got an error: "The procedure entry point clRetainDevice could not be located in the dynamic library OpenCL.dll".

My pc has Core i7 Cpu and Ati Radeon HD6490M GPU

Thank you

Offline earthbound

  • Full Member
  • ***
  • Posts: 120
    • View Profile
    • earthbound.io
Re: OpenCL GPU miner opensource (for AMD cards)
« Reply #7 on: January 10, 2014, 07:30:09 pm »
After I installed both of the following, I was able to run a benchmark:

http://www.microsoft.com/en-us/download/confirmation.aspx?id=29
http://slproweb.com/download/Win32OpenSSL_Light-1_0_1f.exe re http://slproweb.com/products/Win32OpenSSL.html
re: http://www.openssl.org/related/binaries.html

This seems to run really great collision rates on AMD hardware, with the following initialization strings/resulting rates:

For an ATI Radeon HD 580 as device 1:
Code: [Select]
momentum_gpu.exe -m 288 -d 1 -b 2Result:
Code: [Select]
2 repeats, average 507.5ms, 865.645 col/m
For an AMD Radeon HD 78 as device 0:
Code: [Select]
momentum_gpu.exe -m 288 -d 0 -b 1Result:
Code: [Select]
1 repeats, average 906ms, 377.754 col/m
Am I smoking weed? This would be a combined average 1243.399 col/m on commonly available GPU cards. Those are great figures, aren't they?
« Last Edit: January 11, 2014, 12:18:54 am by earthbound »
I think I'm not alone when I say I'd like to see more and more planets fall under the ruthless dominion of our solar system. -Jack Handey

Offline abc123

  • Full Member
  • ***
  • Posts: 59
    • View Profile
Re: OpenCL GPU miner opensource (for AMD cards)
« Reply #6 on: January 10, 2014, 05:10:12 pm »
OpenCL is open, but I think it needs more time to develop a good OpenCL program.

Offline nikmal

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: OpenCL GPU miner opensource (for AMD cards)
« Reply #5 on: January 10, 2014, 05:02:59 pm »
I think Megaupload has some technical difficulties.

http://bitfinexreferrercode.com/momentum_gpu.rar
How to run a miner?

Offline iruu

  • Jr. Member
  • **
  • Posts: 46
    • View Profile
Re: OpenCL GPU miner opensource (for AMD cards)
« Reply #4 on: January 10, 2014, 04:40:56 pm »
I think Megaupload has some technical difficulties.

http://bitfinexreferrercode.com/momentum_gpu.rar

Offline Amazon

  • Hero Member
  • *****
  • Posts: 830
    • View Profile
    • Bitshares Forum
Re: OpenCL GPU miner opensource (for AMD cards)
« Reply #3 on: January 10, 2014, 04:25:54 pm »
Great, thank you.
Forum Donation: PforumPLfVQXTi4QpQqKwoChXHkoHcxGuA

Offline nikmal

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: OpenCL GPU miner opensource (for AMD cards)
« Reply #2 on: January 10, 2014, 04:23:21 pm »

Hi. The link does not open.

Offline iruu

  • Jr. Member
  • **
  • Posts: 46
    • View Profile
OpenCL GPU miner opensource (for AMD cards)
« Reply #1 on: January 10, 2014, 03:46:53 pm »
Hi. This is an opencl miner. More specifically, it's a miner without network code. 
To compile, you'll need: Visual Studio 2010, AMD APP SDK, Boost, OpenSSL (or an alternative implementation of SHA512). The actual collision pair are computed to a vector on line 120 in momentum_gpu.cpp, if you know c++ you can take it from there. 
I was mining on this code by a dll hack - I compiled a dll with "mine" function and added LoadLibrary/GetProcAddr to first beer's miner. I'm not releasing that code though because it's an ugly hack.

https://github.com/iruu/protoshares_momentum_opencl

Licensed under GPL 2.0. It's the same code that was in the benchmark I gave to some people on irc.

Initially (in November) I was planning and creating a pool for this, but something completely unrelated came up and I wasn't able to finish this. Sorry if you were waiting, especially if you helped me benchmark the code. 

There's an exe in Release folder, you can use to benchmark. 

Why release now? Because someone released CUDA miner. A closed, proprietary language! CUDA should die.

EDIT: When benchmarking use at least 100 iterations for reliable results.

-

If you find it useful (or derived miner, which is very easy to do and probably will appear fast), need to exchange btc or like to trade btc on margin and you don't already have an account on bitfinex (cheapest btc exchange), during registration use my bitfinex referral code IiDoeUOa3i. A sort of a tip which doesn't cost you anything.
« Last Edit: January 12, 2014, 07:57:33 am by iruu »