OpenCL on Linux

AMD

Fedora

Repo: https://github.com/secureworkstation/rpm-amdgpu-pro-opencl

$ sudo dnf -y groupinstall 'RPM Development Tools'
$ rpmdev-setuptree
$ cd ~/rpmbuild/SOURCES
$ wget --referer https://support.amd.com/en-us/kb-articles/Pages/AMDGPU-PRO-Driver-for-Linux-Release-Notes.aspx \
  https://drivers.amd.com/drivers/linux/amdgpu-pro-20.45-1188099-ubuntu-20.04.tar.xz
$ cd ~/rpmbuild/SPECS
$ git clone https://github.com/secureworkstation/rpm-amdgpu-pro-opencl amdgpu-pro-opencl
$ cd amdgpu-pro-opencl
$ rpmbuild -ba amdgpu-pro-opencl.spec
$ sudo dnf -y --nogpgcheck install ~/rpmbuild/RPMS/x86_64/amdgpu-pro-opencl-20.45.1188099-1.fc*.x86_64.rpm