Imac Radeon Pro 580x. No compatible GPU found
I was facing the same problem in Linux. When you install your GPU drivers try to put the following additional options: --opencl=pal,legacy,rocm.

I found this answer here and it worked for me after two weeks with this problem.