### rectangular iteration space

Posted:

**Thu Jan 24, 2008 2:52 am**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++)

;