lbryio / lbrycrd-gpu

Please use https://github.com/lbryio/sgminer-gm or https://github.com/lbryio/ccminer or https://github.com/lbryio/cpuminer instead.
22 stars 12 forks source link

cl_kernel.h errors on start #7

Closed akosmaroy closed 5 years ago

akosmaroy commented 7 years ago

Hi,

I compiled lbrycrd-gpu from source on Ubuntu 17.04, and when starting, I'm getting the following error message:

cl_kernel.h:15587:24: note: candidate function
ulong __OVERLOADABLE__ as_ulong (short3);
                       ^
cl_kernel.h:15589:24: note: candidate function
ulong __OVERLOADABLE__ as_ulong (short4);
                       ^
cl_kernel.h:15591:24: note: candidate function
ulong __OVERLOADABLE__ as_ulong (ushort3);
                       ^
cl_kernel.h:15593:24: note: candidate function
ulong __OVERLOADABLE__ as_ulong (ushort4);
                       ^
cl_kernel.h:15594:24: note: candidate function
ulong __OVERLOADABLE__ as_ulong (int2);
                       ^
cl_kernel.h:15595:24: note: candidate function
ulong __OVERLOADABLE__ as_ulong (uint2);
                       ^
cl_kernel.h:15596:24: note: candidate function
ulong __OVERLOADABLE__ as_ulong (float2);
                       ^
In file included from <kernel>:3:
./kernel/ripemd160.cl:5:9: warning: 'F1' macro redefined
#define F1(x, y, z)     ((x) ^ (y) ^ (z))
        ^
./kernel/sha256.cl:18:[17:20:57] Failed to init GPU thread 0, disabling device 0

I got the same message when compiling both with GCC 5 and GCC 6.

I wonder what I'm doing wrong.

Akos

BrannonKing commented 5 years ago

I believe that this has been addressed here: https://github.com/lbryio/sgminer-gm . Please reopen an issue there if not as this repo is being migrated.