In Linux operating systems, the ADF API controls the AI Engine graph, and any PL kernels specified as part of the graph. The Xilinx Runtime (XRT) API and OpenCL API are used to control PL kernels working outside the graph. But the Xilinx Runtime (XRT) API can also be used to control the AI Engine graph and PL kernels working inside the graph. The following figure shows the APIs and drivers required in this system.
Figure 1. AI Engine XRT Software Stack