Commit eeb12e0b authored by Mark Florisson's avatar Mark Florisson

Update comment

parent 4819d3f5
......@@ -5828,11 +5828,14 @@ class ParallelStatNode(StatNode, ParallelNode):
for j in prange(n):
sum += i * j
This does not propagate to the outermost prange:
Nested with parallel blocks are disallowed, because they wouldn't
allow you to propagate lastprivates or reductions:
#pragma omp parallel for lastprivate(i)
for i in prange(n):
sum = 0
#pragma omp parallel private(j, sum)
with parallel:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment