OpenCL GPU error with MacOS
I've tried many config and I always get back to this type of error. 

Using a macbook pro with an egpu AMD Radeon 580.  I had a similar issue with an ubutntu/hiveos build with a 1066 card

I used the basic config.json and the apps has made it's own version.

[2022-01-20 07:43:29.451]  opencl   GPU #1 compiling...
[2022-01-20 07:43:29.489]  opencl   GPU #1 compilation completed (38 ms)
[2022-01-20 07:43:29.512]  opencl   error CL_INVALID_VALUE when calling clGetProgramInfo
[2022-01-20 07:43:29.527]  opencl   error CL_INVALID_VALUE when calling clGetProgramInfo
[2022-01-20 07:43:29.529]  opencl   thread #2 failed with error CL_INVALID_PROGRAM
[2022-01-20 07:43:29.529]  opencl   GPU #1 compiling...
[2022-01-20 07:43:29.556]  opencl   thread #2 self-test failed
[2022-01-20 07:43:29.587]  opencl   GPU #1 compilation completed (57 ms)
[2022-01-20 07:43:29.587]  opencl   error CL_INVALID_VALUE when calling clGetProgramInfo
[2022-01-20 07:43:29.587]  opencl   error CL_INVALID_VALUE when calling clGetProgramInfo
[2022-01-20 07:43:29.587]  opencl   thread #1 failed with error CL_INVALID_PROGRAM
[2022-01-20 07:43:29.589]  opencl   thread #1 self-test failed
[2022-01-20 07:43:29.590]  opencl   GPU #2 compiling...
[2022-01-20 07:43:29.596]  opencl   GPU #2 compilation completed (6 ms)
[2022-01-20 07:43:29.596]  opencl   error CL_INVALID_VALUE when calling clGetProgramInfo
[2022-01-20 07:43:29.596]  opencl   error CL_INVALID_VALUE when calling clGetProgramInfo
[2022-01-20 07:43:29.596]  opencl   thread #4 failed with error CL_INVALID_PROGRAM
[2022-01-20 07:43:29.597]  opencl   GPU #2 compiling...
[2022-01-20 07:43:29.598]  opencl   thread #4 self-test failed
[2022-01-20 07:43:29.602]  opencl   GPU #2 compilation completed (5 ms)
[2022-01-20 07:43:29.603]  opencl   error CL_INVALID_VALUE when calling clGetProgramInfo
[2022-01-20 07:43:29.603]  opencl   error CL_INVALID_VALUE when calling clGetProgramInfo
[2022-01-20 07:43:29.603]  opencl   thread #3 failed with error CL_INVALID_PROGRAM
[2022-01-20 07:43:29.605]  opencl   GPU #0 compiling...
[2022-01-20 07:43:29.606]  opencl   thread #3 self-test failed
[2022-01-20 07:43:29.608]  opencl   error CL_BUILD_PROGRAM_FAILURE when calling clBuildProgram
BUILD LOG:
<program source>:820:6: warning: no previous prototype for function 'get_byte32'
uint get_byte32(uint a,uint start_bit) { return (a>>start_bit)&0xFF; }
     ^
<program source>:1072:7: warning: no previous prototype for function 'rotr64'
ulong rotr64(ulong a,ulong shift) { return rotate(a,64-shift); }
      ^
<program source>:1096: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>:1157: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>:1155: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>:1234:6: warning: no previous prototype for function 'blake2b_512_process_double_block_64'
[2022-01-20 07:43:29.608]  opencl   thread #0 failed with error CL_INVALID_PROGRAM
[2022-01-20 07:43:29.610]  opencl   thread #0 self-test failed
[2022-01-20 07:43:29.610]  opencl   disabled (failed to start threads)
