Fusing Adjacent Loops With Unequal Trip Counts (-Xsenable-unequal-tc-fusion)
-Xsenable-unequal-tc-fusion
)Use the
-Xsenable-unequal-tc-fusion
flag in your
dpcpp
command to direct the
Intel® oneAPI
to fuse adjacent loops with different trip counts into a single loop without affecting either loop's functionality.
DPC++/C++
CompilerExample
dpcpp -fintelfpga -Xshardware -Xsenable-unequal-tc-fusion <source_file>.cpp
For more information about fusing loops, refer to
Loop Fusion.