Building the Host Program

Vitis Unified Software Platform Documentation: Application Acceleration Development (UG1393)

Document ID
UG1393
Release Date
2021-03-22
Version
2020.2 English

The host program, written in C/C++ using either the XRT native API or OpenCL™ API calls, is built using the GNU C++ compiler (g++) which is based on GNU compiler collection (GCC). Each source file is compiled to an object file (.o) and linked with the Xilinx® runtime (XRT) shared library to create the executable which runs on the host CPU.

Tip: g++ supports many standard GCC options which are not documented here. For information refer to the GCC Option Summary.