Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
27 Views

Disable loop-reordering/ loop-interchange

Hello, is it possible to disable loop-reordering/ loop-interchange while compiling with -O3? Thank you, Paul
0 Kudos
1 Reply
Highlighted
Black Belt
27 Views

I haven't seen a supported (publically documented) option for this specific purpose.  #pragma distribute point may have such an effect, probably between the loops you don't want swapped.  #pragma omp often suppresses loop interchanges.

0 Kudos