![]() System : Linux absol.cf 5.4.0-198-generic #218-Ubuntu SMP Fri Sep 27 20:18:53 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, Directory : /usr/include/boost/mpi/detail/ |
Upload File : |
// Copyright 2005 Douglas Gregor. // Use, modification and distribution is subject to the Boost Software // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // Message Passing Interface 1.1 -- Section 3. MPI Point-to-point #ifndef BOOST_MPI_DETAIL_POINT_TO_POINT_HPP #define BOOST_MPI_DETAIL_POINT_TO_POINT_HPP // For (de-)serializing sends and receives #include <boost/mpi/config.hpp> #include <boost/mpi/packed_oarchive.hpp> #include <boost/mpi/packed_iarchive.hpp> namespace boost { namespace mpi { class request; class communicator; namespace detail { /** Sends a packed archive using MPI_Send. */ BOOST_MPI_DECL void packed_archive_send(communicator const& comm, int dest, int tag, const packed_oarchive& ar); /** Sends a packed archive using MPI_Isend. * * This routine may split sends into multiple packets. The MPI_Request * for each packet will be placed into the out_requests array, up to * num_out_requests packets. The number of packets sent will be * returned from the function. */ BOOST_MPI_DECL request packed_archive_isend(communicator const& comm, int dest, int tag, const packed_oarchive& ar); /** * \overload */ BOOST_MPI_DECL request packed_archive_isend(communicator const& comm, int dest, int tag, const packed_iarchive& ar); /** Receives a packed archive using MPI_Recv. */ BOOST_MPI_DECL void packed_archive_recv(communicator const& comm, int source, int tag, packed_iarchive& ar, MPI_Status& status); } } } // end namespace boost::mpi::detail #endif // BOOST_MPI_DETAIL_POINT_TO_POINT_HPP