This is the “top-level file” referred to in the AMD Vitis™ GUI. When running simulations, this program runs on the host PC, not on the AI Engine, and not on the PS.
#include graph.hpp // include ADF graph header file
theGraph g; // instantiate the graph as a global variable
int main() {
g.init(); // initialize the graph
g.run(1); // run the graph once
g.end(); // terminate the graph
return (0);
}