Host application can be targeted run either on the Linux operating systems or on bare-metal systems. For compiling host code for Linux, refer to Compiling and Linking Host Code for Linux in the AI Engine Tools and Flows User Guide (UG1076). For compiling host code for bare-metal systems, refer to Compiling and Linking Host Code for Bare-Metal in the AI Engine Tools and Flows User Guide (UG1076).
More information on how to develop host code can be found in AI Engine Tools and Flows User Guide (UG1076).
XRT APIs can be used to control PL kernels and AI Engine graphs in Linux based host applications. The XRT APIs usage documentation can be found in https://xilinx.github.io/XRT/master/html/xrt_native_apis.html. On bare-metal systems, the AI Engine graphs are controlled via ADF APIs, while PL kernels are controlled via register writes and reads. You can find more information on how to program the Host application for bare-metal systems in Programming the PS Host Application in the AI Engine Kernel and Graph Programming Guide (UG1079).