Skip to content

Commit

Permalink
add Dalcin et al reference (#1695)
Browse files Browse the repository at this point in the history
  • Loading branch information
ClaudiaComito authored Oct 28, 2024
1 parent ac392b5 commit 99f6f4b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion heat/core/manipulations.py
Original file line number Diff line number Diff line change
Expand Up @@ -3719,7 +3719,8 @@ def _axis2axisResplit(
comm: Communication,
) -> torch.Tensor:
"""
Resplits the input array along a new axis and performs data exchange using MPI_Alltoallw. Returns target_larray object with the data after the exchange.
Resplits the input array along a new axis and performs data exchange using MPI_Alltoallw, after [1].
Returns `target_larray` object with the data after the exchange.
Parameters
----------
Expand All @@ -3737,6 +3738,10 @@ def _axis2axisResplit(
The tiling object containing the subarray parameters for the target array.
comm : Communication
The communication object for MPI communication.
References
----------
[1] Dalcin, Mortensen, Keyes, "Fast parallel multidimensional FFT using advanced MPI", 2018.
"""
# Create subarray types for original local shapes split along the new axis
source_subarray_params = source_tiles.get_subarray_params(source_split, target_split)
Expand Down

0 comments on commit 99f6f4b

Please sign in to comment.