Skip to content

Get Started

Packages

rocm-dkms is a meta-package which depends on rock-dkms (GPU kernel driver), rocm-dev and rocm-core (ROCm softwares and libraries).

Starting from ROCm 4.5, it moves to use mainline kernel driver amdgpu-dkms instead of rock-dkms.

Hardware Support

Notes

Offical support ended means the configuration is not enabled in official software distributions. Users can still compile their own version of software using the ROCm source code until the compile target has been removed. However, use at your own risk as they are not officially supported.

gfx803

gfx803 includes devices like Radeon RX 580 and Radeon RX 590.

  • ROCm 3.5.1 is the last usable version with official support.
  • ROCm 3.7+ is not usable even with "official support" due to breaking changes.
  • Offical support ended starting from ROCm 4.0.

gfx900

gfx900 includes devices like Radeon RX Vega 56, Radeon RX Vega 64, and Radeon Instinct MI25.

  • Offical support ended starting from ROCm 5.0.

gfx906

gfx906 includes devices like Radeon VII and Radeon Instinct MI50.

  • Deprecated starting from ROCm 6.0.

Tricks

Trick rocm_agent_enumerator to think you have 3 different AMD GPUs installed by modifing the following file.

/opt/rocm/bin/target.lst
gfx803
gfx900
gfx906

For Dockerfile

RUN bash -c 'echo -e "gfx803\ngfx900\ngfx906" >> /opt/rocm/bin/target.lst'