Open mintminty59 opened 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
^
./simd.cl:1499:9: note: previous definition is here
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))); }
^: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)))); }
^:101:
./wolf-sha512.cl:71:9: warning: 'MAJ' macro redefined
~~~ 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~~~ 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 fromdefine 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)))