Commit 49c8ae84 authored by Mark Florisson's avatar Mark Florisson Committed by Vitja Makarov

Update comment

parent 17d04e6d
......@@ -5834,11 +5834,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