With Tumbleweed running Linux kernel 5.0, it is easy to install ROCm OpenCL with upstream kernel.
- Go to http://repo.radeon.com/rocm/yum/rpm/ and download the latest version of following packages:
- Install them without checking dependencies, assuming you already have libc etc packages installed, e.g.:
sudo rpm --nodeps -ivh hsakmt-roct-1.0.9-135-g34da614-Linux.rpm
- That's it! Optionally, install clinfo with zypper to check the available platform. If you have been using Mesa OpenCL, you may want to uninstall it.