Skip to content
Snippets Groups Projects

Use MPI_Comm_dup to separate ArborX comm context from user's

Merged Arndt, Daniel requested to merge github/fork/aprokop/use_comm_dup into master
1 file
+ 3
2
Compare changes
  • Side-by-side
  • Inline
@@ -105,9 +105,10 @@ template <typename DeviceType>
template <typename Primitives>
DistributedSearchTree<DeviceType>::DistributedSearchTree(
MPI_Comm comm, Primitives const &primitives)
: _comm(comm)
, _bottom_tree(primitives)
: _bottom_tree(primitives)
{
MPI_Comm_dup(comm, &_comm);
int comm_rank;
MPI_Comm_rank(_comm, &comm_rank);
int comm_size;
Loading