OpenCL Installation for AMD Radeon GPUs¶
Download the Latest Drivers¶
First you need to download the latest amdgpu-install
wrapper here:
https://www.amd.com/en/support/linux-drivers.
On the Mercury EM780 running Ubuntu 24.04 LTS, we downloaded: Radeon™ Software
for Linux® version 24.10.3 for Ubuntu 20.04.6 HWE
.
Install¶
Install the AMD wrapper:
Install the OpenCL ROCr driver:
Add the current user to the render
group:
Then reboot:
Check if it works: