Page 1 of 1

XMRig + OpenCL + MacBook Pro 16" - Success Anyone?

Posted: Mon Jul 05, 2021 12:29 pm
by macminergod
Using XMRig/6.13.1 and OpenCL for AMD Radeon Pro 5600M Compute Engine in my MacBook Pro 16".

Xmrig Opencl Amd Radeon Pro 5600m Compiling Success
Xmrig Opencl Amd Radeon Pro 5600m Compiling Success (260.21 KiB) Viewed 7132 times
| # | GPU | BUS ID | INTENSITY | WSIZE | MEMORY | NAME
| 0 | 0 | n/a | 320 | 8 | 640 | Intel(R) UHD Graphics 630
| 1 | 1 | n/a | 640 | 8 | 1280 | AMD Radeon Pro 5600M Compute Engine
| 2 | 1 | n/a | 640 | 8 | 1280 | AMD Radeon Pro 5600M Compute Engine
[2021-07-05 07:17:33.340] opencl GPU #1 compiling...
[2021-07-05 07:17:33.344] opencl GPU #1 compilation completed (3 ms)
But...

error CL_INVALID_VALUE when calling clGetProgramInfo
error CL_BUILD_PROGRAM_FAILURE when calling clBuildProgram

The Intel(R) UHD Graphics 630 will not build or mine which is expected:
BUILD LOG:
<program source>:768:6: warning: no previous prototype for function 'get_byte32'
uint get_byte32(uint a,uint start_bit) { return (a>>start_bit)&0xFF; }
^
<program source>:1020:7: warning: no previous prototype for function 'rotr64'
ulong rotr64(ulong a,ulong shift) { return rotate(a,64-shift); }
^
<program source>:1044:6: warning: no previous prototype for function 'blake2b_512_process_single_block'
void blake2b_512_process_single_block(ulong *h,const ulong* m,uint blockTemplateSize)
^
<program source>:1105:6: warning: no previous prototype for function 'blake2b_512_process_double_block_32'
void blake2b_512_process_double_block_name(ulong *out,ulong* m,__global const ulong* in)
^
<program source>:1103:47: note: expanded from macro 'blake2b_512_process_double_block_name'
#define blake2b_512_process_double_block_name blake2b_512_process_double_block_32
^
<program source>:1182:6: warning: no previous prototype for function 'blake2b_512_process_double_block_64'
void blake2b_512_process_double_block_name(ulong *out,ulong* m,__global const ulong* in)
^
<program source>:1180:47: note: expanded from macro 'blake2b_512_process_double_block_name'
#define blake2b_512_process_double_block_name blake2b_512_process_double_block_64
^
<program source>:1294:8: warning: no previous prototype for function 'getSmallPositiveFloatBits'
double getSmallPositiveFloatBits(uint64_t entropy)
^
<program source>:1303:10: warning: no previous prototype for function 'getStaticExponent'
uint64_t getStaticExponent(uint64_t entropy)
^
<program source>:1310:10: warning: no previous prototype for function 'getFloatMask'
uint64_t getFloatMask(uint64_t entropy)
^
<program source>:1315:6: warning: no previous prototype for function 'set_buffer'
void set_buffer(__local uint32_t *dst_buf,uint32_t N,const uint32_t value)
[2021-07-05 07:17:33.350] opencl thread #0 failed with error CL_INVALID_PROGRAM
[2021-07-05 07:17:33.351] opencl thread #0 self-test failed