Use MPI_Comm_dup to separate ArborX comm context from user's
Created by: aprokop
This call should normally not involve any communication.
Merge request reports
Activity
Filter activity
105 105 template <typename Primitives> 106 106 DistributedSearchTree<DeviceType>::DistributedSearchTree( 107 107 MPI_Comm comm, Primitives const &primitives) 108 : _comm(comm) 109 , _bottom_tree(primitives) 108 : _bottom_tree(primitives) 110 109 { 110 MPI_Comm_dup(comm, &_comm); 105 105 template <typename Primitives> 106 106 DistributedSearchTree<DeviceType>::DistributedSearchTree( 107 107 MPI_Comm comm, Primitives const &primitives) 108 : _comm(comm) 109 , _bottom_tree(primitives) 108 : _bottom_tree(primitives) 110 109 { 110 MPI_Comm_dup(comm, &_comm); 105 105 template <typename Primitives> 106 106 DistributedSearchTree<DeviceType>::DistributedSearchTree( 107 107 MPI_Comm comm, Primitives const &primitives) 108 : _comm(comm) 109 , _bottom_tree(primitives) 108 : _bottom_tree(primitives) 110 109 { 110 MPI_Comm_dup(comm, &_comm);
Please register or sign in to reply