@@ -52,7 +52,7 @@ namespace hpx::mpi::experimental {
5252
5353 // mutex needed to protect mpi request vector, note that the
5454 // mpi poll function takes place inside the main scheduling loop
55- // of hpx and not on an hpx worker thread, so we must use std:mutex
55+ // of hpx and not on a hpx worker thread, so we must use std:mutex
5656 HPX_CXX_EXPORT HPX_CORE_EXPORT mutex_type& get_vector_mtx ();
5757
5858 // -----------------------------------------------------------------
@@ -114,8 +114,8 @@ namespace hpx::mpi::experimental {
114114 HPX_CXX_EXPORT using future_data_ptr = hpx::intrusive_ptr<future_data>;
115115
116116 // -----------------------------------------------------------------
117- // a convenience structure to hold state vars
118- // used extensively with debug::print to display rank etc
117+ // a convenience structure to hold state vars used extensively with
118+ // debug::print to display rank etc
119119 HPX_CXX_EXPORT struct mpi_info
120120 {
121121 bool error_handler_initialized_ = false ;
@@ -135,8 +135,8 @@ namespace hpx::mpi::experimental {
135135 std::ostream& os, mpi_info const & i);
136136
137137 // -----------------------------------------------------------------
138- // an MPI error handling type that we can use to intercept
139- // MPI errors is we enable the error handler
138+ // an MPI error handling type that we can use to intercept MPI errors is
139+ // we enable the error handler
140140 HPX_CXX_EXPORT HPX_CORE_EXPORT extern MPI_Errhandler hpx_mpi_errhandler;
141141
142142 // function that converts an MPI error into an exception
@@ -161,8 +161,8 @@ namespace hpx::mpi::experimental {
161161 } // namespace detail
162162
163163 // -----------------------------------------------------------------
164- // set an error handler for communicators that will be called
165- // on any error instead of the default behavior of program termination
164+ // set an error handler for communicators that will be called on any error
165+ // instead of the default behavior of program termination
166166 HPX_CXX_EXPORT HPX_CORE_EXPORT void set_error_handler ();
167167
168168 // -----------------------------------------------------------------
@@ -195,9 +195,9 @@ namespace hpx::mpi::experimental {
195195 } // namespace detail
196196
197197 // -----------------------------------------------------------------
198- // Background progress function for MPI async operations
199- // Checks for completed MPI_Requests and sets mpi::experimental::future ready
200- // when found
198+ // Background progress function for MPI async operations. Checks for
199+ // completed MPI_Requests and sets mpi::experimental::future ready when
200+ // found
201201 HPX_CXX_EXPORT HPX_CORE_EXPORT
202202 hpx::threads::policies::detail::polling_status
203203 poll ();
@@ -233,9 +233,8 @@ namespace hpx::mpi::experimental {
233233 });
234234 }
235235
236- // initialize the hpx::mpi background request handler
237- // All ranks should call this function,
238- // but only one thread per rank needs to do so
236+ // initialize the hpx::mpi background request handler All ranks should call
237+ // this function, but only one thread per rank needs to do so
239238 HPX_CXX_EXPORT HPX_CORE_EXPORT void init (bool init_mpi = false ,
240239 std::string const & pool_name = " " , bool init_errorhandler = false );
241240
0 commit comments