Optimization Options - 2023.1 English

Vitis Unified IDE and Common Command-Line Reference Manual (UG1553)

Document ID
UG1553
Release Date
2023-07-17
Version
2023.1 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