I have already installed this driver.
Following the instructions on this page:
when I run:
env LLVM_BIN=/opt/amdgpu-pro/bin /opt/amdgpu-pro/bin/clinfo
I get this error:
terminate called after throwing an instance of 'cl::Error'
Aborted (core dumped)
I got it working! I was missing this step:
sudo apt install -y rocm-amdgpu-pro
and last time I had the wrong kernel I think.