Hi,
nested prange loops seem to be a common gotcha for users. I can't say if
there is ever a reason to do this, but at least I can't think of any. For
me, this sounds like we should turn it into a compile time error – unless
someone can think of a use case? Even in that case, I'd still emit a
On Fri, 15 Jul 2022 at 11:03, Stefan Behnel wrote:
> nested prange loops seem to be a common gotcha for users. I can't say if
> there is ever a reason to do this, but at least I can't think of any.
Unless you make nested prange() emit the following C code:
#pragma omp parallel for collapse(2)