This stage helps you determine the AI Engine kernel or graph construct causing design performance drop or stall or causing a deadlock by:
Running and analyzing runtime trace data using the AI Engine Event trace flow.
Profiling Intra-kernel performance.
Using the AMD Vitis™ IDE debugger to debug kernel source code.
Build the Design for Event Trace Analysis |
Explains how to use the different event trace options for compiling and its significance. Also walks through the steps to generate a hardware image. - Prepare for hardware run |
Event Trace Analysis - XRT Flow |
Explains how to do an AI Engine event trace and analysis by setting up the configuration file, `xrt.ini`, and run the hardware design to generate the trace data using the XRT flow. - Launch Vitis Analyzer to Examine Event Trace Files - Details of the Event Trace data |
Event Trace Analysis - XSDB Flow |
This method explains how to use the XSDB-based flow to perform event trace analysis on an AI Engine design. |
Event Trace Considerations |
This method explains how to use the XSDB-based flow to perform event trace analysis on an AI Engine design. - Event Trace Choice Considerations - Number of Event Trace Streams Methodology - Event Trace Limitations |
Debug the Host/Kernel Source Code Using the Vitis IDE |
Explains how to set up the target connection for hardware in the Vitis IDE and debug the host code and kernel source code in the Vitis IDE debugger. |