Skip to content

Commit 13f9357

Browse files
committed
compiler: fix missing parallel omp flag for nested
1 parent ddb2459 commit 13f9357

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)