File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -508,7 +508,9 @@ 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- self .umt_reduce = par_tile
511+ # Reduction tiles have to be unbounded.
512+ self .umt_reduce = UnboundedMultiTuple (
513+ * [UnboundTuple (* p , 1 ) for p in par_tile ])
512514 else :
513515 # Special case 1: a smaller par-tile to avoid under-utilizing
514516 # computational resources when the iteration spaces are too small
Original file line number Diff line number Diff line change 1313limits_mapper = {
1414 np .int32 : Bunch (min = ValueLimit ('INT_MIN' ), max = ValueLimit ('INT_MAX' )),
1515 np .int64 : Bunch (min = ValueLimit ('LONG_MIN' ), max = ValueLimit ('LONG_MAX' )),
16- np .float32 : Bunch (min = - ValueLimit ('FLT_MIN ' ), max = ValueLimit ('FLT_MAX' )),
17- np .float64 : Bunch (min = - ValueLimit ('DBL_MIN ' ), max = ValueLimit ('DBL_MAX' )),
16+ np .float32 : Bunch (min = - ValueLimit ('FLT_MAX ' ), max = ValueLimit ('FLT_MAX' )),
17+ np .float64 : Bunch (min = - ValueLimit ('DBL_MAX ' ), max = ValueLimit ('DBL_MAX' )),
1818}
1919
2020
You can’t perform that action at this time.
0 commit comments