【0】显卡接上,7+7转8pin接口接上
【1】安装rock驱动
先执行
sudo apt-get update
sudo apt -y install linux-headers-`uname -r`
sudo apt -y install linux-image-`uname -r`
sudo apt -y install linux-modules-extra-`uname -r`
sudo apt -y install libdrm-dev
再执行
dpkg -i rock-4.5.2-xxxx.deb
reboot
验证驱动安装成功
lsmod | grep dcu
【2】安装工具包
apt-get install -y make gcc g++ cmake git wget gfortran elfutils libelf-dev libdrm-dev kmod libtinfo5 sqlite3 libsqlite3-dev libnuma-dev libgl1-mesa-dev rpm rsync cmake libpci-dev pciutils libpciaccess-dev libbabeltrace-dev pkg-config libfile-which-perl libfile-basedir-perl libfile-copy-recursive-perl libfile-listing-perl python3 python3-pip python3-dev python3-wheel libprotobuf-dev libio-digest-perl libdigest-md5-file-perl libdata-dumper-simple-perl vim curl libcurlpp-dev libbabeltrace-dev
查看GPU状态
rocminfo | grep -i zifang
rocm-smi
删除驱动
dpkg -r rock-4.5.2
原来DCU Z100叫zifang