Building in OpenCL configuration on IBM POWER (ppc64el)
I have finally managed to put AMD Instinct card to work with the latest ROCm on my IBM POWER9 server.

I have also been trying to build xmrig with opencl support, however it seems that even the "portable" code isn't exactly portable? x86intrin all the way, I had replaced with altivec occasionally, but CN/soft_aes code is just completely impenetrable. To be honest, I don't even see a reason why any of this needs to be built given OpenCL target, however maybe I would have better luck with CUDA code?

AMD HIP is actually pretty compatible with CUDA, there's hipify tool to convert pre-existing code to HIP and run that on AMD GPU. Unfortunately, I imagine that CUDA code would similarly depend on cryptonight/soft_aes stuff a.k.a. CPU vectorisations, so I'm back to square 1 in that regard. Really hope to somehow get this working, as it would be really cool. Related #2227