Skip to content

Commit 6e3b3bf

Browse files
mlouboutJDBetteridge
authored andcommitted
compiler: fix missing parallel omp flag for nested
1 parent afd2056 commit 6e3b3bf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

devito/passes/iet/parpragma.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ def _make_partree(self, candidates, nthreads=None):
294294
prefix = []
295295
elif nthreads is not None:
296296
body = self.HostIteration(schedule='static',
297-
parallel=nthreads is not self.nthreads_nested,
297+
parallel=nthreads is not self.nthreads,
298298
ncollapsed=ncollapsed, nthreads=nthreads,
299299
**root.args)
300300
prefix = []

0 commit comments

Comments
 (0)