Main Menu

OpenCL GPU miner opensource (for AMD cards)

Started by iruu, January 10, 2014, 03:46:53 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

earthbound

#11
Quote from: voffka05 on January 10, 2014, 09:14:53 PM
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.)
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

voffka05


earthbound

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

sircotra

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

earthbound

#7
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:
momentum_gpu.exe -m 288 -d 1 -b 2
Result:
2 repeats, average 507.5ms, 865.645 col/m

For an AMD Radeon HD 78 as device 0:
momentum_gpu.exe -m 288 -d 0 -b 1
Result:
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?
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

abc123

OpenCL is open, but I think it needs more time to develop a good OpenCL program.


iruu


Amazon

Forum Donation: PforumPLfVQXTi4QpQqKwoChXHkoHcxGuA

nikmal


iruu

#1
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.