- Create this file
sudo touch /etc/apt/sources.list.d/rocm.list
- put this line in there
deb [arch=amd64] https://repo.radeon.com/rocm/apt/3.5.1/ xenial main
sudo apt update
- install ocl
sudo apt install rocm-opencl3.5.0
- this script doesnt write icd path to
/etc/OpenCL/vendors/
so that's on us touch /etc/OpenCL/vendors/amdocl64.icd
echo "/opt/rocm-3.5.1/opencl/lib/libamdocl64.so" > /etc/OpenCL/vendors/amdocl64.icd
- done. run
clinfo
. thing should work at this point
if 3.5.1 doesn work for you, look at the rocm logs to see last version when it had worked for your gpu (it may have never been the case!)