123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- #ifndef BOOST_MPI_OFFSETS_HPP
- #define BOOST_MPI_OFFSETS_HPP
- #include <vector>
- #include <boost/mpi/config.hpp>
- #include <boost/mpi/communicator.hpp>
- namespace boost { namespace mpi {
- namespace detail {
- void BOOST_MPI_DECL sizes2offsets(int const* sizes, int* offsets, int n);
- void BOOST_MPI_DECL sizes2offsets(std::vector<int> const& sizes, std::vector<int>& offsets);
- void offsets2skipped(int const* sizes, int const* offsets, int* skipped, int n);
- int* make_offsets(communicator const& comm, int const* sizes, int const* displs, int root = -1);
- int* make_skipped_slots(communicator const& comm, int const* sizes, int const* displs, int root = -1);
- }
- }}
- #endif
|