Guide to using ROCm for AMD instead of Pro drivers on Debian

Moderators: Site Moderators, FAHC Science Team

Guide to using ROCm for AMD instead of Pro drivers on Debian

Postby braiam » Fri Apr 10, 2020 9:53 pm

There's a qualitative advantage of using the ROCm drivers rather than the AMDGPU(-PRO) packages. It has better support for newer cards, extremely modular (no more having to have vdpau and va drivers from the AMD drivers mixed with mesa) and it's developed with focus on computing. Another advantage is that it's easier to install on any system without messing around scripts. Just following the download instructions and installing both the rocm-opencl and rocm-opencl-dev packages is enough... in theory. You also have to edit the /etc/ld.so.conf.d/hsa-rocr-dev.conf file so it reads as follow (note the version of the rocm directory can change):

Code: Select all
/opt/rocm-3.3.0/opencl/lib/
/opt/rocm/hsa/lib


ldconfig can't realiably read from the x86_64 directory, which would make programs unable to find the library. Running ldconfig as root should fix the directory.
braiam
 
Posts: 14
Joined: Mon Mar 23, 2020 3:56 pm

Return to V7.5.1 Public Release Windows/Linux/MacOS X

Who is online

Users browsing this forum: Google [Bot] and 2 guests

cron