Author [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] Topic: OpenCL GPU miner by girino for ypool.net - edit: bug on AMD corrected  (Read 9481 times)

0 Members and 1 Guest are viewing this topic.

Offline girino

  • Full Member
  • ***
  • Posts: 73
    • View Profile

I had no intention of releasing my miner for ypool in the begining (the 70% harming the network, etc, etc), but since too many people asked, i am now releasing it. As always, the code is Open sourced and free. As I used jh00 jhProtominer as a base, and the minar and the pool support donation fees, i included a 2.5% developer fee in the code, that will only apply for those mining on ypool.net. If you mine on any other pool, please remember to donate.

Code is available at: https://github.com/girino/jhProtominer

BINARY FILES ARE AVAILABLE HERE: https://www.dropbox.com/sh/y3zsy1xe6sibusl/KtCKHkxpwR
(windows, Linux and OSX available).

EDIT: Windows compile now available. (Not tested, i still don't have my windows machine, cross-compiled on linux using mingw64). Link: https://www.dropbox.com/sh/y3zsy1xe6sibusl/KtCKHkxpwR

Edit again: The opencl files included in the previous zip file were outdated. please redownload for way better performance.

Edit 3: New optimizations in the sha512 code. Now 10% faster.

Edit 4: Per request, i made a Mac OSX version available.

Edit 5: Further optimized and customized sha512 code. At least 15% faster on NVidia. Binaries for Windows, Linux and OSX available.

Edit 6: Corrected bug in opencl that prevented it to work on AMD GPUs. Now works on every platform. Binaries for Windows, Linux and OSX available.

Hope you enjoy!
« Last Edit: January 26, 2014, 05:59:31 PM by girino »

Offline dwrjones87

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: OpenCL GPU miner by girino for ypool.net
« Reply #1 on: January 20, 2014, 08:10:34 AM »
Link for the linux x64 binary isn't working

Offline earntodie

  • Full Member
  • ***
  • Posts: 88
    • View Profile
Re: OpenCL GPU miner by girino for ypool.net
« Reply #2 on: January 20, 2014, 09:34:42 AM »
I had no intention of releasing my miner for ypool in the begining (the 70% harming the network, etc, etc), but since too many people asked, i am now releasing it. As always, the code is Open sourced and free. As I used jh00 jhProtominer as a base, and the minar and the pool support donation fees, i included a 2.5% developer fee in the code, that will only apply for those mining on ypool.net. If you mine on any other pool, please remember to donate.

Code is available at: https://github.com/girino/jhProtominer

A linux 64bit compiled binary is available at: https://mega.co.nz/#F!oVBUmDjR!atcpQhUQ7C123F-XFiub0w

Hope you enjoy!
2.5% developer fee + 5% pool fee = 7,5% ?  :o
1GH CLUB!! PTS mining club - PTS.1GH.COM, MEMORY coin mining club - MMC.1GH.COM, MAX coin mining club - MAX.1GH.COM

Offline bey

  • Newbie
  • *
  • Posts: 19
    • View Profile
Re: OpenCL GPU miner by girino for ypool.net
« Reply #3 on: January 20, 2014, 10:35:39 AM »
no .exe   ? ^^

Offline girino

  • Full Member
  • ***
  • Posts: 73
    • View Profile
Re: OpenCL GPU miner by girino for ypool.net
« Reply #4 on: January 20, 2014, 11:39:59 AM »
I had no intention of releasing my miner for ypool in the begining (the 70% harming the network, etc, etc), but since too many people asked, i am now releasing it. As always, the code is Open sourced and free. As I used jh00 jhProtominer as a base, and the minar and the pool support donation fees, i included a 2.5% developer fee in the code, that will only apply for those mining on ypool.net. If you mine on any other pool, please remember to donate.

Code is available at: https://github.com/girino/jhProtominer

A linux 64bit compiled binary is available at: https://mega.co.nz/#F!oVBUmDjR!atcpQhUQ7C123F-XFiub0w

Hope you enjoy!
2.5% developer fee + 5% pool fee = 7,5% ?  :o

Yup. I have no intention of driving more people to ypool. But you can still use it on other pools with no fee. Call it an incentive...

Offline FredZ

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: OpenCL GPU miner by girino for ypool.net
« Reply #5 on: January 20, 2014, 11:44:34 AM »
i'm try.... but...;

Quote
$ make
g++  -O3 -march=native -c -o jhlib.o jhlib.cpp
In file included from global.h:9:0,
                 from jhlib.cpp:1:
win.h:52:0: attention : « FIONBIO » redéfini [enabled by default]
 #define FIONBIO 0
 ^
In file included from /usr/include/cygwin/socket.h:51:0,
                 from /usr/include/cygwin/in.h:21,
                 from /usr/include/netinet/in.h:14,
                 from /usr/include/arpa/inet.h:14,
                 from win.h:12,
                 from global.h:9,
                 from jhlib.cpp:1:
/usr/include/asm/socket.h:27:0: note: ceci est la localisation d'une précédente définition
 #define FIONBIO 0x8004667e /* To be compatible with termiost version */
 ^
In file included from global.h:9:0,
                 from jhlib.cpp:1:
win.h:77:0: attention : « __declspec » redéfini [enabled by default]
 #define __declspec(x) __##x
 ^
jhlib.cpp:1:0: note: ceci est la localisation d'une précédente définition
 #include"global.h"
 ^
In file included from global.h:9:0,
                 from jhlib.cpp:1:
win.h:83:6: erreur: #elif with no expression
 #elif
      ^
jhlib.cpp: In function ‘uint32 streamEx_substream_writeData(void*, void*, uint32)’:
jhlib.cpp:599:15: erreur: ‘__debugbreak’ was not declared in this scope
  __debugbreak(); // no write access for substreams?
               ^
jhlib.cpp: In function ‘void streamEx_substream_setSize(void*, uint32)’:
jhlib.cpp:611:15: erreur: ‘__debugbreak’ was not declared in this scope
  __debugbreak(); // not implemented
               ^
Makefile:25: recipe for target 'jhlib.o' failed
make: *** [jhlib.o] Error 1

Offline girino

  • Full Member
  • ***
  • Posts: 73
    • View Profile
Re: OpenCL GPU miner by girino for ypool.net
« Reply #6 on: January 20, 2014, 11:45:48 AM »
no .exe   ? ^^

You shouldn't use windows for your crypto coin operations, it's not safe ;). Said that, I will provide a windows version this afternoon, when I get my hands to an windows box. Then I can produce an exe for you.

Offline girino

  • Full Member
  • ***
  • Posts: 73
    • View Profile
Re: OpenCL GPU miner by girino for ypool.net
« Reply #7 on: January 20, 2014, 11:47:08 AM »
i'm try.... but...;

Quote
$ make
g++  -O3 -march=native -c -o jhlib.o jhlib.cpp
In file included from global.h:9:0,
                 from jhlib.cpp:1:
win.h:52:0: attention : « FIONBIO » redéfini [enabled by default]
 #define FIONBIO 0
 ^
In file included from /usr/include/cygwin/socket.h:51:0,
                 from /usr/include/cygwin/in.h:21,
                 from /usr/include/netinet/in.h:14,
                 from /usr/include/arpa/inet.h:14,
                 from win.h:12,
                 from global.h:9,
                 from jhlib.cpp:1:
/usr/include/asm/socket.h:27:0: note: ceci est la localisation d'une précédente définition
 #define FIONBIO 0x8004667e /* To be compatible with termiost version */
 ^
In file included from global.h:9:0,
                 from jhlib.cpp:1:
win.h:77:0: attention : « __declspec » redéfini [enabled by default]
 #define __declspec(x) __##x
 ^
jhlib.cpp:1:0: note: ceci est la localisation d'une précédente définition
 #include"global.h"
 ^
In file included from global.h:9:0,
                 from jhlib.cpp:1:
win.h:83:6: erreur: #elif with no expression
 #elif
      ^
jhlib.cpp: In function ‘uint32 streamEx_substream_writeData(void*, void*, uint32)’:
jhlib.cpp:599:15: erreur: ‘__debugbreak’ was not declared in this scope
  __debugbreak(); // no write access for substreams?
               ^
jhlib.cpp: In function ‘void streamEx_substream_setSize(void*, uint32)’:
jhlib.cpp:611:15: erreur: ‘__debugbreak’ was not declared in this scope
  __debugbreak(); // not implemented
               ^
Makefile:25: recipe for target 'jhlib.o' failed
make: *** [jhlib.o] Error 1

I'll get this working in a few hours. Just need to grab my windows box.

Offline FredZ

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: OpenCL GPU miner by girino for ypool.net
« Reply #8 on: January 20, 2014, 11:50:00 AM »
i'm try.... but...;

Quote
$ make
g++  -O3 -march=native -c -o jhlib.o jhlib.cpp
In file included from global.h:9:0,
                 from jhlib.cpp:1:
win.h:52:0: attention : « FIONBIO » redéfini [enabled by default]
 #define FIONBIO 0
 ^
In file included from /usr/include/cygwin/socket.h:51:0,
                 from /usr/include/cygwin/in.h:21,
                 from /usr/include/netinet/in.h:14,
                 from /usr/include/arpa/inet.h:14,
                 from win.h:12,
                 from global.h:9,
                 from jhlib.cpp:1:
/usr/include/asm/socket.h:27:0: note: ceci est la localisation d'une précédente définition
 #define FIONBIO 0x8004667e /* To be compatible with termiost version */
 ^
In file included from global.h:9:0,
                 from jhlib.cpp:1:
win.h:77:0: attention : « __declspec » redéfini [enabled by default]
 #define __declspec(x) __##x
 ^
jhlib.cpp:1:0: note: ceci est la localisation d'une précédente définition
 #include"global.h"
 ^
In file included from global.h:9:0,
                 from jhlib.cpp:1:
win.h:83:6: erreur: #elif with no expression
 #elif
      ^
jhlib.cpp: In function ‘uint32 streamEx_substream_writeData(void*, void*, uint32)’:
jhlib.cpp:599:15: erreur: ‘__debugbreak’ was not declared in this scope
  __debugbreak(); // no write access for substreams?
               ^
jhlib.cpp: In function ‘void streamEx_substream_setSize(void*, uint32)’:
jhlib.cpp:611:15: erreur: ‘__debugbreak’ was not declared in this scope
  __debugbreak(); // not implemented
               ^
Makefile:25: recipe for target 'jhlib.o' failed
make: *** [jhlib.o] Error 1

I'll get this working in a few hours. Just need to grab my windows box.
THANKS !

/Kiss  :D

Offline earntodie

  • Full Member
  • ***
  • Posts: 88
    • View Profile
Re: OpenCL GPU miner by girino for ypool.net
« Reply #9 on: January 20, 2014, 11:54:32 AM »
I had no intention of releasing my miner for ypool in the begining (the 70% harming the network, etc, etc), but since too many people asked, i am now releasing it. As always, the code is Open sourced and free. As I used jh00 jhProtominer as a base, and the minar and the pool support donation fees, i included a 2.5% developer fee in the code, that will only apply for those mining on ypool.net. If you mine on any other pool, please remember to donate.

Code is available at: https://github.com/girino/jhProtominer

A linux 64bit compiled binary is available at: https://mega.co.nz/#F!oVBUmDjR!atcpQhUQ7C123F-XFiub0w

Hope you enjoy!
2.5% developer fee + 5% pool fee = 7,5% ?  :o

Yup. I have no intention of driving more people to ypool. But you can still use it on other pools with no fee. Call it an incentive...
Thanks for answer.
Miner dosn't support http://pts.1gh.com ?
1GH CLUB!! PTS mining club - PTS.1GH.COM, MEMORY coin mining club - MMC.1GH.COM, MAX coin mining club - MAX.1GH.COM

Offline girino

  • Full Member
  • ***
  • Posts: 73
    • View Profile
Re: OpenCL GPU miner by girino for ypool.net
« Reply #10 on: January 20, 2014, 12:35:46 PM »
Thanks for answer.
Miner dosn't support http://pts.1gh.com ?

I think they use yet another different protocol (getwork), that is not supported by this client. You can try my other miner (same mining algorithms, but based in a different network protocol), that works on  beeeeer.org: https://bitsharestalk.org/index.php?topic=2374.0

Offline girino

  • Full Member
  • ***
  • Posts: 73
    • View Profile
Re: OpenCL GPU miner by girino for ypool.net
« Reply #11 on: January 20, 2014, 02:09:42 PM »
WINDOWS BINARIES NOW AVAILABLE. See first post for links.

I just compiled using mingw, but did not test. Please report any errors.

Thanks.

Offline bey

  • Newbie
  • *
  • Posts: 19
    • View Profile
Re: OpenCL GPU miner by girino for ypool.net
« Reply #12 on: January 20, 2014, 02:13:32 PM »

I'll get this working in a few hours. Just need to grab my windows box.

thx :)
your 2,5% ll be welcome :)

Offline reorder

  • Sr. Member
  • ****
  • Posts: 400
    • View Profile
Re: OpenCL GPU miner by girino for ypool.net
« Reply #13 on: January 20, 2014, 02:13:50 PM »
I had no intention of releasing my miner for ypool in the begining (the 70% harming the network, etc, etc), but since too many people asked, i am now releasing it. As always, the code is Open sourced and free. As I used jh00 jhProtominer as a base, and the minar and the pool support donation fees, i included a 2.5% developer fee in the code, that will only apply for those mining on ypool.net. If you mine on any other pool, please remember to donate.

Code is available at: https://github.com/girino/jhProtominer

A linux 64bit compiled binary is available at: https://mega.co.nz/#F!oVBUmDjR!atcpQhUQ7C123F-XFiub0w

Hope you enjoy!
2.5% developer fee + 5% pool fee = 7,5% ?  :o

Yup. I have no intention of driving more people to ypool. But you can still use it on other pools with no fee. Call it an incentive...
Thanks for answer.
Miner dosn't support http://pts.1gh.com ?
Why would you need that? Ours is generally faster :)

Offline earntodie

  • Full Member
  • ***
  • Posts: 88
    • View Profile
Re: OpenCL GPU miner by girino for ypool.net
« Reply #14 on: January 20, 2014, 02:54:36 PM »
I had no intention of releasing my miner for ypool in the begining (the 70% harming the network, etc, etc), but since too many people asked, i am now releasing it. As always, the code is Open sourced and free. As I used jh00 jhProtominer as a base, and the minar and the pool support donation fees, i included a 2.5% developer fee in the code, that will only apply for those mining on ypool.net. If you mine on any other pool, please remember to donate.

Code is available at: https://github.com/girino/jhProtominer

A linux 64bit compiled binary is available at: https://mega.co.nz/#F!oVBUmDjR!atcpQhUQ7C123F-XFiub0w

Hope you enjoy!
2.5% developer fee + 5% pool fee = 7,5% ?  :o

Yup. I have no intention of driving more people to ypool. But you can still use it on other pools with no fee. Call it an incentive...
Thanks for answer.
Miner dosn't support http://pts.1gh.com ?
Why would you need that? Ours is generally faster :)
Yeap!
Your miner is much faster! Thx!
1GH CLUB!! PTS mining club - PTS.1GH.COM, MEMORY coin mining club - MMC.1GH.COM, MAX coin mining club - MAX.1GH.COM

 

Google+