FPGA Loop Directives
The following table summarizes loop directives:
Pragma or Attribute
| Description
| Example
|
---|---|---|
unroll | Unrolls a loop in the kernel code.
|
|
ivdep | Ignores memory dependencies between iterations of this loop
|
|
ii | Forces a loop to have a loop initialization interval (II) of a specified value.
|
|
max_concurrency | Limits the number of iterations of a loop that can simultaneously execute at any time.
|
|
max_interleaving | Maximizes the throughput and hardware resource occupancy of pipelined inner loops in a loop nest.
|
|
loop_coalesce | Coalesces nested loops into a single loop without affecting the loop functionality.
|
|
speculated_iterations | Improves the performance of pipelined loops.
|
|
disable_loop_pipelining | Directs the
Intel® oneAPI
to disable pipelining of a loop.
DPC++/C++ Compiler |
|