Vitis Analyzer is used to view the AI Engine compilation results. It highlights the state of compilation, displays the graph solution in both the Graph and Array views, provides guidance around the kernel code, and allows you to open various reports produced by aiecompiler
. Below is the graph.aiecompile_summary
file generated by the aiecompiler
, which is located in the Work
directory.
To open the summary file, use the following command:
vitis_analyzer ./Work/graph.aiecompile_summary
The Summary View displays the compilation runtime, the version of the compiler used, the platform targeted, kernels created, and the exact command line used for the compilation.
Click Kernel Guidance. This view provides a list of messages (INFO, Warning, Critical Warning) and provides optimization and best practice guidance for kernel development. By default, INFO messages are hidden.
Click Mapping Analysis. This report provides detailed mapping information which the
aiecompiler
generates for mapping the graph to the AI Engine.Click DMA Analysis. This is a text report showing a summary of the DMA accesses from the graph.
Click Lock Allocation. This shows the locks per buffer and where it is mapped in the ADF Graph.
Click Log. This is the compilation log for your graph.
Click AI Engine Compilation. This view shows the individual logs and command line options for the individual Tile compilations. The following figure shows an example of the kernel in Tile [18,0].
Note: The Graph View and Array View are presented in the next section.