Skip to content

Commit

Permalink
Revert "update docs" xrt-smi change (#1667)
Browse files Browse the repository at this point in the history
  • Loading branch information
fifield committed Aug 7, 2024
1 parent 80fb5c0 commit a2927d1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions docs/buildHostLin.md
Original file line number Diff line number Diff line change
Expand Up @@ -243,11 +243,11 @@ You will...
sudo dpkg -i xrt_plugin.2.18.0_ubuntu22.04-x86_64-amdxdna.deb
```

1. Check that the NPU is working if the device appears with xrt-smi:
1. Check that the NPU is working if the device appears with xbutil:

```bash
source /opt/xilinx/xrt/setup.sh
xrt-smi examine
xbutil examine
```

> At the bottom of the output you should see:
Expand Down
6 changes: 3 additions & 3 deletions utils/quick_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@

echo "Setting up RyzenAI developement tools..."
if [[ $WSL_DISTRO_NAME == "" ]]; then
XRTSMI=`which xrt-smi`
if ! test -f "$XRTSMI"; then
XBUTIL=`which xbutil`
if ! test -f "$XBUTIL"; then
echo "XRT is not installed"
return 1
fi
NPU=`/opt/xilinx/xrt/bin/xrt-smi examine | grep RyzenAI`
NPU=`/opt/xilinx/xrt/bin/xbutil examine | grep RyzenAI`
if [[ $NPU == *"RyzenAI"* ]]; then
echo "Ryzen AI NPU found:"
echo $NPU
Expand Down

0 comments on commit a2927d1

Please sign in to comment.