@@ -44,7 +44,7 @@ namespace hpx::mpi::experimental {
4444
4545 // by convention the title is 7 chars (for alignment)
4646 HPX_CXX_EXPORT using print_on = debug::enable_print<false >;
47- HPX_CXX_EXPORT static constexpr print_on mpi_debug (" MPI_FUT" );
47+ HPX_CXX_EXPORT inline constexpr print_on mpi_debug (" MPI_FUT" );
4848
4949 namespace detail {
5050
@@ -59,7 +59,10 @@ namespace hpx::mpi::experimental {
5959 // An implementation of future_data for MPI
6060 HPX_CXX_EXPORT struct future_data : hpx::lcos::detail::future_data<int >
6161 {
62- HPX_NON_COPYABLE (future_data);
62+ future_data (future_data const &) = delete ;
63+ future_data (future_data&&) = delete ;
64+ future_data& operator =(future_data const &) = delete ;
65+ future_data& operator =(future_data&&) = delete ;
6366
6467 using init_no_addref =
6568 typename hpx::lcos::detail::future_data<int >::init_no_addref;
@@ -112,7 +115,7 @@ namespace hpx::mpi::experimental {
112115
113116 // -----------------------------------------------------------------
114117 // a convenience structure to hold state vars
115- // used extensivey with debug::print to display rank etc
118+ // used extensively with debug::print to display rank etc
116119 HPX_CXX_EXPORT struct mpi_info
117120 {
118121 bool error_handler_initialized_ = false ;
@@ -141,28 +144,20 @@ namespace hpx::mpi::experimental {
141144 MPI_Comm*, int * errorcode, ...);
142145
143146 // -----------------------------------------------------------------
144- // we track requests and callbacks in two vectors even though
145- // we have the request stored in the request_callback vector already
146- // the reason for this is because we can use MPI_Testany
147- // with a vector of requests to save overheads compared
148- // to testing one by one every item (using a list)
147+ // we track requests and callbacks in two vectors even though we have
148+ // the request stored in the request_callback vector already the reason
149+ // for this is we can use MPI_Testany with a vector of requests to save
150+ // overheads compared to testing one by one every item (using a list)
149151 HPX_CXX_EXPORT HPX_CORE_EXPORT std::vector<MPI_Request>&
150152 get_requests_vector ();
151153
152154 // -----------------------------------------------------------------
153155 // define a lockfree queue type to place requests in prior to handling
154156 // this is done only to avoid taking a lock every time a request is
155- // returned from MPI. Instead the requests are placed into a queue
156- // and the polling code pops them prior to calling Testany
157+ // returned from MPI. Instead, the requests are placed into a queue
158+ // and the polling code pops them prior to calling Testany.
157159 HPX_CXX_EXPORT using queue_type =
158160 concurrency::ConcurrentQueue<future_data_ptr>;
159-
160- // -----------------------------------------------------------------
161- // used internally to query how many requests are 'in flight'
162- // these are requests that are being polled for actively
163- // and not the same as the requests enqueued
164- HPX_CXX_EXPORT HPX_CORE_EXPORT std::size_t
165- get_number_of_active_requests ();
166161 } // namespace detail
167162
168163 // -----------------------------------------------------------------
0 commit comments