I'm trying to get OpenCL working on a recent AMD graphics card (Navi 14 chipset). I have tried downloading and compiling the Radeon Open Compute (ROCm) framework from
https://github.com/RadeonOpenCompute .
There are a number of hardcoded
-D__x86_64__ declarations in the CMakeLists.txt. After clearing those out there are maybe five or six places where functions include a couple of lines of x86 assembly, doing things that ought to be equally possible on POWER9.
Does anyone know of any existing efforts to port ROCm or another OpenCL runtime to POWER9?
Failing that, can someone suggest a good place to learn the basics of POWER9 assembly (whatever dialect is used by GCC)?