1.检查自己的显卡类型
[root@localhost amdgpu-pro-18.50-708488-rhel-7.6]# lspci | grep -i vga
03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cape Verde XT [Radeon HD 7770/8760 / R7 250X]
2.下载对应的安装包
https://www.amd.com/en/support/graphics/amd-radeon-r7-series/amd-radeon-r7-200-series/amd-radeon-r7-250x
3.安装
[root@localhost amdgpu-pro-18.50-708488-rhel-7.6]# ./amdgpu-pro-install -y --opencl=pal,legacy
......
zlib-devel.x86_64 0:1.2.7-18.el7
Complete!
WARNING: amdgpu dkms failed for running kernel
安装参数指南
https://amdgpu-install.readthedocs.io/en/latest/install-installing.html