Building the Host Program

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

Document ID
UG1393
ft:locale
English (United States)
Release Date
2021-12-15
Version
2021.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.