Xilinx / Vitis-Tutorials

Vitis In-Depth Tutorials
https://Xilinx.github.io/Vitis-Tutorials/
MIT License
1.22k stars 552 forks source link

13-aie-performance-analysis: Facing runtime errors when I try to find the graph latency using 13-aie-performance-analysis #360

Open Hari-MathWorks opened 1 year ago

Hari-MathWorks commented 1 year ago

Describe the issue I was able to successfully run the "13-aie-performance-analysis" on both Hardware emulation and actual hardware with out any modifications. But If I use the event::start_profiling(gr.in, gr.dataout, event::io_stream_start_difference_cycles) to find the graph latency, then I was facing the issues. Below is the screenshot of the modifications I made to the host.cpp file: image

You can find the complete modified host.cpp file from below: host_modified.cpp.txt

To Reproduce

  1. Modify the Vitis-Tutorials/blob/2022.2/AI_Engine_Development/Feature_Tutorials/13-aie-performance-analysis/testcase_ssfifo/sw/host.cpp file with modifications mentioned in above section.
  2. Run the hardware emulation step mentioned in this link i.e., make run_hw_emu.
  3. In the emulator run host.exe a.xclbin
  4. You will see below error: hwEmulationRunTimeError

Your environment:

xflorentw commented 1 year ago

Hi @Hari-MathWorks

This question is not directly related to the tutorial. Do you mind opening a topic on the forums for this question: https://support.xilinx.com/s/?language=en_US

Thanks

Florent

xflorentw commented 1 year ago

This question has been asked on the forums and technical support is investigating the issue: https://support.xilinx.com/s/question/0D54U00006FZmseSAD/facing-runtime-errors-when-i-try-to-find-the-graph-latency-using-13aieperformanceanalysis-tutorial