mpi_array.update.UpdatesForRedistribute¶
-
class
mpi_array.update.UpdatesForRedistribute(dst_distrib, src_distrib, peer_rank_translator=None)[source]¶ Bases:
objectCollection of update extents for re-distribution of array elements from one distribution to another.
Methods
__init__(dst_distrib, src_distrib[, ...])calc_intersection_split(dst_extent, src_extent)Calculates intersection between dst_extentand {src_extent}.check_updates()Runs consistency checks on the calculated updates, assumes that the dst_distribandsrc_distribdistributed as a partitioning (no locale extent overlaps except for halo).create_pair_extent_update(dst_extent, ...)Factory method for creating PairExtentUpdateobjects.get_cpy2_src_extents(dst_inter_locale_rank)initialise()initialise_cpy2_updates()initialise_rget_updates()initialise_updates()