Skip to the content.

🇫🇷 | 🇬🇧 | 🇩🇪 | 🇪🇸 | 🇵🇹 | 🇮🇹 | 🇳🇱 | 🇵🇱 | 🇷🇺 | 🇨🇳 | 🇯🇵 | 🇰🇷

Przewodnik instalacji

Wymagania wstępne

sudo apt install linux-headers-$(uname -r) build-essential git dkms libcurl4-openssl-dev libtbb-dev pybind11-dev python3-pybind11

Krok 1: Klonowanie repozytorium

git clone https://github.com/amd/xdna-driver.git && cd xdna-driver
git submodule update --init --recursive

Krok 2: Kompilacja XRT

cd xrt/build && ./build.sh -npu -opt
sudo apt reinstall ./Release/xrt_*-amd64-base.deb ./Release/xrt_*-amd64-npu.deb

Krok 3: Kompilacja sterownika XDNA

cd ../../build && ./build.sh -release
sudo apt reinstall ./Release/xrt_plugin.*-x86_64-amdxdna.deb

Konfiguracja po instalacji

sudo sh -c 'echo "* soft memlock unlimited" >> /etc/security/limits.conf'
sudo sh -c 'echo "* hard memlock unlimited" >> /etc/security/limits.conf'
echo 'source /opt/xilinx/xrt/setup.sh' >> ~/.bashrc

Uruchom ponownie aby zastosować zmiany.


← Strona główna Rozwiązywanie problemów →