-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove PCU original comm and ownership and use Dup
- pcu/PCU.h: remove GetMPIComm, GetComm, SwitchMPIComm, SwitchComm, OwnsComm, OwnsComm(bool). - (PCU::Split): change return type to int and set output pointer. - update documentation. - pcu/PCU.cc: remove GetMPIComm, GetComm, SwitchMPIComm, SwitchComm, OwnsComm. - (PCU::Split): remove OwnsComm call. - (PCU::DupComm): return int and set pointer. - pcu/pcu_mpi.h: remove pcu_mpi_struct original_comm and owned. - pcu/pcu_pmpi.c (pcu_pmpi_init): do not copy original comm and remove self->owned. - (pcu_pmpi_finalize): remove MPI_Comm_free for owned original_comm. - (pcu_pmpi_split): split over user_comm. - pcu/pcu_pnompi.c: update init and finalize. - pcu/PCU_C.h: remove Switch_Comm and Get_Comm. - add Comm_Dup and Comm_Split. - pcu/pcu_c.cc: remove Switch_Comm and Get_Comm. add Comm_Dup with pointer to newpcu that releases the unique_ptr and Comm_Split. Signed-off-by: Aiden Woodruff <[email protected]>
- Loading branch information
Showing
7 changed files
with
26 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters