LIMXTEC / Xevan-GPU-Miner

Sgminer for AMD Cards
GNU General Public License v3.0
10 stars 18 forks source link

Error #3

Open mintminty59 opened 7 years ago

mintminty59 commented 7 years ago

Using Nvidia OpenCl GPU platoform 0

[14:43:06] In file included from :101: ./wolf-sha512.cl:55:69: warning: implicit declaration of function 'amd_bitalign' is invalid in C99 ulong FAST_ROTR64_LO(const uint2 x, const uint y) { return(as_ulong(amd_bitalign(x.s10, x, y))); } ^ ./wolf-sha512.cl:55:60: error: call to 'as_ulong' is ambiguous ulong FAST_ROTR64_LO(const uint2 x, const uint y) { return(as_ulong(amd_bitalign(x.s10, x, y))); } ^~~~ cl_kernel.h:14906:24: note: candidate function ulong OVERLOADABLE as_ulong (long); ^ cl_kernel.h:14907:24: note: candidate function ulong OVERLOADABLE as_ulong (ulong); ^ cl_kernel.h:14908:24: note: candidate function ulong OVERLOADABLE as_ulong (double); ^ cl_kernel.h:15584:24: note: candidate function ulong OVERLOADABLE as_ulong (char8); ^ cl_kernel.h:15585:24: note: candidate function ulong OVERLOADABLE as_ulong (uchar8); ^ 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 :101: ./wolf-sha512.cl:56:60: error: call to 'as_ulong' is ambiguous ulong FAST_ROTR64_HI(const uint2 x, const uint y) { return(as_ulong(amd_bitalign(x, x.s10, (y - 32)))); } ^~~~ cl_kernel.h:14906:24: note: candidate function ulong OVERLOADABLE as_ulong (long); ^ cl_kernel.h:14907:24: note: candidate function ulong OVERLOADABLE as_ulong (ulong); ^ cl_kernel.h:14908:24: note: candidate function ulong OVERLOADABLE as_ulong (double); ^ cl_kernel.h:15584:24: note: candidate function ulong OVERLOADABLE as_ulong (char8); ^ cl_kernel.h:15585:24: note: candidate function ulong OVERLOADABLE as_ulong (uchar8); ^ 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 :101: ./wolf-sha512.cl:71:9: warning: 'MAJ' macro redefined

define MAJ(X, Y, Z) CH((X ^ Z), Y, Z)

    ^

./simd.cl:1499:9: note: previous definition is here

define MAJ(x, y, z) (((x) & (y)) | (((x) | (y)) & (z)))

    ^
:388:19: error: 'long long' type is not supported (( ((i+16)*(0x0555555555555555ull)) + SPH_ROTL64(mv[i], i+1) + ^ :396:19: error: 'long long' type is not supported (( ((i+16)*(0x0555555555555555ull)) + SPH_ROTL64(mv[i], i+1) + ^ :404:19: error: 'long long' type is not supported (( ((i+16)*(0x0555555555555555ull)) + SPH_ROTL64(mv[i], i+1) + ^ :412:19: error: 'long long' type is not supported (( ((i+16)*(0x0555555555555555ull)) + SPH_ROTL64(mv[i], i+1) + ^ :420:19: error: 'long long' type is not supported (( ((i+16)*(0x0555555555555555ull)) + SPH_ROTL64(mv[i], i+1) + ^ :449:16: error: 'long long' type is not supported BMW_H[i] = 0xaaaaaaaaaaaaaaa0ull + (sph_u64)i; ^ :505:19: error: 'long long' type is not supported (( ((i+16)*(0x0555555555555555ull)) + SPH_ROTL64(mv[i], i+1) + ^ :513:19: error: 'long long' type is not supported (( ((i+16)*(0x0555555555555555ull)) + SPH_ROTL64(mv[i], i+1) + ^ :521:19: error: 'long long' type is not supported (( ((i+16)*(0x0555555555555555ull)) + SPH_ROTL64(mv[i], i+1) + ^ :529:19: error: 'long long' type is not supported (( ((i+16)*(0x0555555555555555ull)) + SPH_ROTL64(mv[i], i+1) + ^ :537:19: error: 'long long' type is not supported (( ((i+16)*(0x0555555555555555ull)) + SPH_ROTL64(mv[i], i+1) + ^ :598:3: warning: implicit declaration of function 'amd_bfe' is invalid in C99 PERM_BIG_P(g); ^ ./groestl.cl:1424:7: note: expanded from macro 'PERM_BIG_P' ROUND_BIG_P(a, r); \ ^ ./groestl.cl:1316:5: note: expanded from macro 'ROUND_BIG_P' RBTT(0x0, a, 0x0, 0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0xB); \ ^ ./groestl.cl:1181:12: note: expanded from macro 'RBTT' ^ T1[B64_1(a[b1])] \ ^ ./groestl.cl:75:21: note: expanded from macro 'B64_1' #define B64_1(x) BYTE((x), 8U) ^ ./whirlpool.cl:1126:21: note: expanded from macro 'BYTE' #define BYTE(x, y) (amd_bfe((uint)((x) >> ((y >= 32U) ? 32U : 0U)), (y) - (((y) >= 32) ? 32U : 0), 8U)) ^ [14:43:06] Failed to init GPU thread 5, disabling device 5 [14:43:06] thread_prepare failed for thread 5 (5s):0.000 (avg):0.000h/s | A:0 R:0 HW:0 WU:0.000/m