Optimization Options - 2023.2 English

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

Document ID
UG1393
Release Date
2023-12-13
Version
2023.2 English
xlopt
Enable kernel optimizations based on the specified value:
  • 0: No kernel optimizations.

  • 1: Computation of heap size, generation of guidance based on LLVM IR analysis, and insertion of loop pragmas.

  • 2: The same optimizations as 1 with the addition of loop peeling for unrolled loops, and automatic inlining.

xlopt=2
Xxloptstr
Option string to enable or disable optimizations in XLOpt level 1,2.
  • -xlinline-threshold=T : set inlining threshold to T (default T = 5000, only for optlevel=2).
  • -annotate-pragma : insertion of loop unrolling, pipelining, and flattening pragmas (default = true)
Xxloptstr=-annotate-pragma