The public comment period closed January 31, 2008. This forum is now locked (read only).
There is a restriction for loops 2.5.1 (p42, l3-4) "The loops must form a rectangular iteration space and the bounds and stride of each loop must be invariant in every loop". But what is "rectangular iteration space"? Do the following loops form a non-rectangular iteration space?
Code: Select all
#pragma omp for collapse(3)
for (i=1; i<10; i++)
for (j=i; j<10; j++)
for (k=j; k<10; k++)
- Posts: 135
- Joined: Sun Oct 21, 2007 4:58 pm
- Location: OpenMP ARB
No, it is not rectangular. We're working on cleaning up the wording. The invariant requirement is supposed to disallow this case.