Summary - 2023.2 English

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

Document ID
UG1393
Release Date
2023-12-13
Version
2023.2 English

As discussed in earlier topics, the recommended coding style for the host program in the Vitis core development kit includes the following points:

  1. In the Vitis core development kit, one or more kernels are separately compiled/linked to build the .xclbin file. The device.load_xclbin(binaryFile) command is used to load the kernel binary.
  2. Create xrt::kernel objects from the loaded device binary, and associate buffer objects (xrt::bo) with the memory banks assigned to kernel arguments.
  3. Transfer data back and forth from the host application to the kernel using xrt::bo::sync commands and buffer reads and write commands.
  4. Execute the kernel using an xrt::run object to start the kernel and wait for kernel execution.
  5. Additionally, you can add error checking after XRT API calls for debugging purpose, if required.