🇫🇷 | 🇬🇧 | 🇩🇪 | 🇪🇸 | 🇵🇹 | 🇮🇹 | 🇳🇱 | 🇵🇱 | 🇷🇺 | 🇨🇳 | 🇯🇵 | 🇰🇷
Guida all’installazione
Prerequisiti
sudo apt install linux-headers-$(uname -r) build-essential git dkms libcurl4-openssl-dev libtbb-dev pybind11-dev python3-pybind11
Passaggio 1: Clonare il repository
git clone https://github.com/amd/xdna-driver.git && cd xdna-driver
git submodule update --init --recursive
Passaggio 2: Compilare XRT
cd xrt/build && ./build.sh -npu -opt
sudo apt reinstall ./Release/xrt_*-amd64-base.deb ./Release/xrt_*-amd64-npu.deb
Passaggio 3: Compilare il driver XDNA
cd ../../build && ./build.sh -release
sudo apt reinstall ./Release/xrt_plugin.*-x86_64-amdxdna.deb
Configurazione post-installazione
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
Riavviare per applicare le modifiche.
| ← Home | Risoluzione problemi → |