Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Dalcin et al 2018 reference to manipulations._axis2axisResplit #1695

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading