|
Nektar++
|
Rendezvous discovery of which ranks share each global id. More...
#include <algorithm>#include <chrono>#include <cstddef>#include <cstdint>#include <cstring>#include <functional>#include <limits>#include <memory>#include <set>#include <type_traits>#include <unordered_map>#include <utility>#include <vector>#include <LibUtilities/BasicUtils/ErrorUtil.hpp>#include <LibUtilities/Communication/Comm.h>#include <LibUtilities/Communication/Transport.hpp>Go to the source code of this file.
Classes | |
| struct | Nektar::LibUtilities::ConnectivityResolverTimings |
| Optional breakdown of wall-clock time spent in ConnectivityResolver::Resolve()'s two Exchange() calls, for isolating network/collective time from the local packing, gathering, and unpacking work around them. Pass a pointer to Resolve() to have it filled in; leave null (the default) for zero measurement overhead. More... | |
| class | Nektar::LibUtilities::ConnectivityResolver |
| Rendezvous discovery on its own, for the common case where you only need to find which ranks share each entity and not a reduced value. More... | |
| struct | Nektar::LibUtilities::ConnectivityResolver::SharerView |
| A resolved id's sharer ranks, as a range over the resolver's own storage – ascending, deduped, and including this rank. Valid until the next Resolve()/Clear(). More... | |
Namespaces | |
| namespace | Nektar |
| namespace | Nektar::LibUtilities |
Rendezvous discovery of which ranks share each global id.
The payload-free discovery pass: every id goes to a rendezvous rank chosen by hashing it, which sees every contribution for that id and ships the resulting sharer list back to each contributor. Two exchanges, and memory that is O(local ids) rather than O(P) or O(N_global).
This is the discovery step underneath #SharedIdPlan, and is also usable on its own where only topology is wanted (AssemblyCommDG does exactly that).
See Transport.hpp for the module overview.
Definition in file ConnectivityResolver.hpp.