AnsweredAssumed Answered

#pragma unroll issues - tries to unroll all loops

Question asked by thesmileman on Feb 14, 2012
Latest reply on Feb 14, 2012 by thesmileman

If I have two loops or more and I use #pragma unroll X (with x being any number) on one loop it will try to unroll all loops

 

This is frustrating as I can get better performance on some loops without unrolling but for most I want it on. This occurs even if the loops are not nested within each other.

Outcomes