Skip to content

Instantly share code, notes, and snippets.

@haipnh
Created June 27, 2022 11:25
Show Gist options
  • Save haipnh/2f4dc636cb5ed589f98a94e9a176d9f9 to your computer and use it in GitHub Desktop.
Save haipnh/2f4dc636cb5ed589f98a94e9a176d9f9 to your computer and use it in GitHub Desktop.
Instruction to run HW-accelerated Python scripts on PYNQ
sudo -s
echo "source /etc/profile.d/pynq_venv.sh" >> ~/.bashrc
echo "export XILINX_XRT=/usr" >> ~/.bashrc
source ~/.bashrc
python some_script.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment