/usr/include/boost/mpi
NameSizeModeActions
collectives/-0755rm
detail/-0755rm
python/-0755rm
allocator.hpp57700644editdlrm
cartesian_communicator.hpp127250644editdlrm
collectives.hpp247270644editdlrm
collectives_fwd.hpp7520644editdlrm
communicator.hpp577420644editdlrm
config.hpp60800644editdlrm
datatype.hpp135510644editdlrm
datatype_fwd.hpp13480644editdlrm
environment.hpp101810644editdlrm
error_string.hpp6580644editdlrm
exception.hpp32350644editdlrm
graph_communicator.hpp181000644editdlrm
group.hpp109870644editdlrm
inplace.hpp15590644editdlrm
intercommunicator.hpp57550644editdlrm
nonblocking.hpp253390644editdlrm
operations.hpp99340644editdlrm
packed_iarchive.hpp50100644editdlrm
packed_oarchive.hpp48130644editdlrm
python.hpp28030644editdlrm
request.hpp53870644editdlrm
skeleton_and_content.hpp25500644editdlrm
skeleton_and_content_fwd.hpp10520644editdlrm
skeleton_and_content_types.hpp118180644editdlrm
status.hpp34500644editdlrm
timer.hpp20080644editdlrm
Edit: /usr/include/boost/mpi/inplace.hpp (1559B)
// Copyright (C) 2005-2006 Alain Miniussi . // 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 4. MPI Collectives /** @file inplace.hpp * * This header provides helpers to indicate to MPI collective operation * that a buffer can be use both as an input and output. */ #ifndef BOOST_MPI_INPLACE_HPP #define BOOST_MPI_INPLACE_HPP #include #include namespace boost { namespace mpi { /** * @brief Wrapper type to explicitly indicate that a input data * can be overriden with an output value. */ template struct inplace_t { inplace_t(T& inout) : buffer(inout) {} T& buffer; }; template struct inplace_t { inplace_t(T* inout) : buffer(inout) {} T* buffer; }; /** * @brief Wrapp a input data to indicate that it can be overriden * with an ouput value. * @param inout the contributing input value, it will be overriden * with the output value where one is expected. If it is a pointer, * the number of elements will be provided separatly. * @returns The wrapped value or pointer. */ template inplace_t inplace(T& inout) { return inplace_t(inout); } /** * \overload */ template inplace_t inplace(T* inout) { return inplace_t(inout); } } } // end namespace boost::mpi #endif // BOOST_MPI_INPLACE_HPP