Visible to Intel only — GUID: puc1508901516211
Ixiasoft
Visible to Intel only — GUID: puc1508901516211
Ixiasoft
5.2.2. Unroll Loops


You can control how the compiler unrolls a loop with the #pragma unroll directive, but this directive works only if the compiler knows the trip count for the loop in advance or if you specify the unroll factor. In addition to replicating the hardware, the compiler also reschedules the circuit such that each operation runs as soon as the inputs for the operation are ready.
For an example of using the #pragma unroll directive, see the best_practices/resource_sharing_filter tutorial.
Did you find the information on this page useful?
Feedback Message
Characters remaining: