AMD OpenCL Runtime for Navi Cards with Debian.
This branch is used for Debian 12
.
ROCm Version: 5.2
Thanks to AMD Yes! ROCm Team!
Most of packages are avaiable on Debian official repository.
But OpenCL support seems not ready for Debian 12, so the repository is used for reolving it.
Thanks to AMD ROCm make AMD Radeon work on maching learning tasks.
Please uninstall mesa-opencl-icd
due to conflicting AMD ROCm OpenCL.
https://gitlab.freedesktop.org/mesa/mesa/-/issues/4189
apt-get purge mesa-opencl-icd
Install AMD ROCm OpenCL Runtime on your Debian.
Dowload all rocm-*.deb
files from releases,
then install all the files.
apt-get install -yf ./rocm-*.deb
It will install all the things requrired automaticlly.
Try clifo
to verify the installiation.
clinfo
There is a autobuild.sh
, it will help you install build dependencies, and build OpenCL automaticlly.
bash autobuild.sh
Therefore, it will a directory dist
created, install all the rocm-*.deb
package.
cd dist/
dpkg -i rocm-*.deb
Try clifo
to verify the installiation.
clinfo