-
-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement MPI_IN_PLACE for MPI Operations (#232)
* Extract the value of MPI_IN_PLACE during build phase * Add non allocating version of MPI_Allreduce, support for MPI_IN_PLACE, and tests. * Add non allocating version of MPI_Scatter, another method supporting MPI_IN_PLACE, and tests. * Add non allocating version of MPI_Allgather, support for MPI_IN_PLACE, and tests. * Add non allocating version of MPI_Allgatherv, support for MPI_IN_PLACE, and tests. * Add non allocating version of MPI_Alltoall, support for MPI_IN_PLACE, and tests. * Add non allocating version of Alltoallv and tests * Modify definition of IN_PLACE and revert function signatures to the old type. * Make the compiler check if a function can accept ConstantPtr. * Allreduce: - Rename `allreduce(sendbuf, op, comm)` to `Allreduce(sendbuf, op, comm)` for consistency + fix test - Move `Allreduce!(send, recv, count op::Function, comm)` converting user provided-functions from `mpi-op.jl` to `mpi-base.jl` * Reduce: - Add nonallocating version `Reduce!` - Move and rename `Reduce(send, recv, count op::Function, comm)` converting user provided-functions from `mpi-op.jl` to `mpi-base.jl` * Add Reduce_in_place! function * Modify allreduce tests to test N-dimensional tensors * Gather: Add a non-allocating version * Add Gather_in_place! * Add non-allocating Gatherv and support for MPI.IN_PLACE + tests * Add Gatherv_in_place! * Add non-allocating Scatterv! and Scatterv_in_place
- Loading branch information
1 parent
568c5bb
commit 73936bb
Showing
16 changed files
with
877 additions
and
111 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
Oops, something went wrong.