We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f31b350 commit 392d48fCopy full SHA for 392d48f
1 file changed
devito/passes/clusters/blocking.py
@@ -508,7 +508,9 @@ def __init__(self, par_tile):
508
# The user has supplied one specific par-tile per blocked nest
509
self.umt_small = par_tile
510
self.umt_sparse = par_tile
511
- self.umt_reduce = par_tile
+ # Reduction tiles have to be unbounded.
512
+ self.umt_reduce = UnboundedMultiTuple(
513
+ *[UnboundTuple(*p, 1) for p in par_tile])
514
else:
515
# Special case 1: a smaller par-tile to avoid under-utilizing
516
# computational resources when the iteration spaces are too small
0 commit comments