rectangular iteration space

The public comment period closed January 31, 2008. This forum is now locked (read only).

rectangular iteration space

Postby dmikh » 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++)

Re: rectangular iteration space

Postby lfm » Tue Jan 29, 2008 2:59 pm

No, it is not rectangular. We're working on cleaning up the wording. The invariant requirement is supposed to disallow this case.
Posts: 135
Joined: Sun Oct 21, 2007 4:58 pm
Location: OpenMP ARB

Return to Draft 3.0 Public Comment

Who is online

Users browsing this forum: No registered users and 3 guests