diy 2019-08-20 (166f7d1b)

Code extracted from:

    https://gitlab.kitware.com/third-party/diy2.git

at commit 166f7d1bf6b4940b9edd3f91c78acf8ea6aa5bca (for/vtk-m).
This commit is contained in:
Diy Upstream 2019-08-20 14:59:42 -04:00 committed by Sujin Philip
parent eea4225d8e
commit a4d07730cc
2 changed files with 5 additions and 3 deletions

@ -52,7 +52,9 @@ namespace mpi
private:
std::vector<T> buffer_;
int rank_;
#ifndef VTKM_DIY_NO_MPI
MPI_Win window_;
#endif
};
} // mpi
} // diy

@ -7,11 +7,11 @@
namespace diy
{
// record master gids in assigner and then lookup the procs for all gids in the links
void fix_links(diy::Master& master, diy::DynamicAssigner& assigner);
inline void fix_links(diy::Master& master, diy::DynamicAssigner& assigner);
// auxiliary functions; could stick them into detail namespace, but they might be useful on their own
void record_local_gids(const diy::Master& master, diy::DynamicAssigner& assigner);
void update_links(diy::Master& master, const diy::DynamicAssigner& assigner);
inline void record_local_gids(const diy::Master& master, diy::DynamicAssigner& assigner);
inline void update_links(diy::Master& master, const diy::DynamicAssigner& assigner);
}
void