supersonictw / navicl

AMD OpenCL Runtime for Navi Cards with Debian.
MIT License
7 stars 0 forks source link

NaviCL

AMD OpenCL Runtime for Navi Cards with Debian.

This branch is used for Debian 12.

ROCm Version: 5.2

Thanks

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.

Warning

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

Installtion

Install AMD ROCm OpenCL Runtime on your Debian.

Use pre-built binaries

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

Run autobuild.sh

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