Skip to content

Commit

Permalink
Use unsecure loading when loading xclbin files
Browse files Browse the repository at this point in the history
This avoids the need to be root when running designs.
  • Loading branch information
stephenneuendorffer committed Apr 10, 2024
1 parent 891b4e0 commit 11b17b2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions utils/run_on_ipu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ if [[ -d /lib/firmware/amdnpu/1502_00 ]]; then
FIRMWARE_DIR=/lib/firmware/amdnpu/1502_00
NPU_DEVICE=NPU1
fi
# Don't require root.
export XRT_HACK_UNSECURE_LOADING_XCLBIN=1

XRT_DIR=/opt/xilinx/xrt
source $XRT_DIR/setup.sh
Expand Down

0 comments on commit 11b17b2

Please sign in to comment.