Developer Guide
Intel® oneAPI DPC++/C++ Compiler Handbook for FPGAs
A newer version of this document is available. Customers should click here to go to the newest version.
Visible to Intel only — GUID: GUID-CAFC7993-A4E7-4714-BD23-BBCC8D5E48A2
Visible to Intel only — GUID: GUID-CAFC7993-A4E7-4714-BD23-BBCC8D5E48A2
Fuse Adjacent Loops With Unequal Trip Counts (-Xsenable-unequal-tc-fusion)
Use the -Xsenable-unequal-tc-fusion flag in your icpx command to direct the Intel® oneAPI DPC++/C++ Compiler to fuse adjacent loops with different trip counts into a single loop without affecting either loop's functionality.
Example
icpx -fintelfpga -Xshardware -Xsenable-unequal-tc-fusion <source_file>.cpp
For more information about fusing loops, refer to Fuse Loops to Reduce Overhead and Improve Performance.