OpenCL with the open-source amdgpu kernel module

Last tested with Debian Sid (2025.02.09); RX 7600; ROCm 6.3.2.

Visit https://rocm.docs.amd.com → ROCm installation for Linux → Detailed installation. The site changes often, so exact wording might be different. Documentation will offer several installation methods. Find and use “native package manager” method. This will suggest adding two repositories: one for ‘amdgpu’ and another one for ‘rocm’. When using the open source amdgpu.ko kernel module, only the ‘rocm’ repository is needed.

After adding the repository, do the usual `apt update` and then:

apt install rocm-opencl

N.B. User must be a member of render group in order to be able to use ROCm/OpenCL.


/~sarunas