21#include "kamping/status.hpp"
32template <
typename StatusObject>
34 using status_type = std::remove_cv_t<std::remove_reference_t<StatusObject>>;
38 internal::BufferModifiability::modifiable,
39 internal::BufferType::out_buffer,
48 internal::BufferModifiability::modifiable,
49 internal::BufferType::out_buffer,
56 make_empty_data_buffer_builder<Status, internal::ParameterType::status, internal::BufferType::ignore>();
62 make_empty_data_buffer_builder<MPI_Status, internal::ParameterType::statuses, internal::BufferType::ignore>();
70template <BufferResizePolicy resize_policy = BufferResizePolicy::no_resize,
typename Container>
74 internal::BufferModifiability::modifiable,
75 internal::BufferType::out_buffer,
81template <
typename Container>
85 internal::BufferModifiability::modifiable,
86 internal::BufferType::out_buffer,
92template <
template <
typename...>
typename Container>
96 internal::BufferModifiability::modifiable,
97 internal::BufferType::out_buffer,
108 internal::BufferModifiability::modifiable,
109 internal::BufferType::out_buffer,
116using namespace params;
STL-compatible allocator for requesting memory using the builtin MPI allocator.
Definition allocator.hpp:32
auto status_out()
Constructs a status object internally, which may then be retrieved from kamping::MPIResult returned b...
Definition status_parameters.hpp:45
constexpr BufferResizePolicy resize_to_fit
Definition data_buffer.hpp:305
auto statuses_out()
Internally construct a container of MPI_Status, which will hold the returned statuses....
Definition status_parameters.hpp:105
auto status(internal::ignore_t< void >)
pass MPI_STATUS_IGNORE to the underlying MPI call.
Definition status_parameters.hpp:54
auto statuses(internal::ignore_t< void >)
pass MPI_STATUSES_IGNORE to the underlying MPI call.
Definition status_parameters.hpp:60
constexpr BufferResizePolicy no_resize
Definition data_buffer.hpp:299
@ status
Tag used to represent the status in a MPI call.
@ statuses
Tag used to represent a container of statuses in a MPI call.
auto make_data_buffer_builder(Data &&data)
Factory method for constructing a DataBufferBuilder from the given Container Data.
Definition parameter_objects.hpp:225
Parameter objects return by named parameter factory functions.
Tag type for parameters that can be omitted on some PEs (e.g., root PE, or non-root PEs).
Definition parameter_objects.hpp:336
Helper type for representing a type list.
Definition parameter_objects.hpp:326