Run the following make command to compile the design graph libadf.a
and launch the AI Engine simulator:
make aiesim
Use vitis_analyzer
to open AI Engine simulator run result.
vitis_analyzer ./aiesimulator_output/default.aierun_summary
Click the Trace
tab in the Vitis Analyzer. The events are shown as follows:
The red arrow denotes the dependency between data transfer and kernel execution and orange rectangle shows overlapping between data transfer and kernel execution. It can be seen that the kernel execution time has been reduced (by comparing to data transfer) and data transfer and kernel execution are overlapping. In the next step, let us explore asynchronous output data transfer and its synchronization mechanism.