File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ def devito_mpi_finalize():
9191 """
9292 Finalize MPI, if initialized by Devito.
9393 """
94- global init_by_devito
94+ global init_by_devito # noqa: F824
9595 if init_by_devito and MPI .Is_initialized () and not MPI .Is_finalized ():
9696 MPI .Finalize ()
9797
Original file line number Diff line number Diff line change @@ -508,9 +508,7 @@ def __init__(self, par_tile):
508508 # The user has supplied one specific par-tile per blocked nest
509509 self .umt_small = par_tile
510510 self .umt_sparse = par_tile
511- # Reduction tiles have to be unbounded.
512- self .umt_reduce = UnboundedMultiTuple (
513- * [UnboundTuple (* p , 1 ) for p in par_tile ])
511+ self .umt_reduce = par_tile
514512 else :
515513 # Special case 1: a smaller par-tile to avoid under-utilizing
516514 # computational resources when the iteration spaces are too small
You can’t perform that action at this time.
0 commit comments