-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid using MPI.bcast() to prevent type instability
MPI.bcast() can communicate (almost?) any type of object, but that means that the type of its result is not necessarily known before communication happens, leading to type instability. Therefore prefer to use other MPI.jl functions that are type-stable. Also use in-place MPI operations in a few more places to avoid possibility of allocating extra buffers.
- Loading branch information
1 parent
31384c5
commit 4e7cb42
Showing
3 changed files
with
69 additions
and
79 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