7. Run the Host Program in Hardware Mode - 2023.1 English

Vitis Tutorials: Hardware Acceleration (XD099)

Document ID
XD099
Release Date
2023-08-02
Version
2023.1 English

If you have tried hardware emulation in the previous step, you must first run the following command to disable the hw_emu mode:

source setup_emu.sh -s off

Next, you can execute the compiled host_krnl_cbc_test file to test the system in hardware mode. You can use command option -s to disable ap_ctrl_chain execution mode and compare the performance difference.

./host_krnl_cbc_test       # execute in ap_ctrl_chain mode
./host_krnl_cbc_test -s    # execute in emulated ap_ctrl_hs mode

Note that because the kernel running time is very short, the CPU/XRT needs frequent interactions with the kernel. Therefore, the performance data reported by the program might vary between different executions brought by CPU/PCIe latency.


Thank you for completing this tutorial.

Copyright © 2020–2023 Advanced Micro Devices, Inc

Terms and Conditions