Represents the future result of an MPI operation. More...
#include <mpi.hpp>
Public Member Functions | |
| Future (MPI_Request req, std::unique_ptr< Buffer > data_buffer) | |
| Construct a Future from a data buffer. More... | |
| Future (MPI_Request req, std::unique_ptr< std::vector< uint8_t >> synced_host_data) | |
| Construct a Future from synchronized host data. More... | |
Public Member Functions inherited from rapidsmpf::Communicator::Future | |
| Future (Future &&)=default | |
| Movable. | |
| Future & | operator= (Future &&)=default |
| Move assignment. More... | |
| Future (Future const &)=delete | |
| Not copyable. | |
| Future & | operator= (Future const &)=delete |
| Not copy-assignable. | |
Friends | |
| class | MPI |
Represents the future result of an MPI operation.
This class is used to handle the result of an MPI communication operation asynchronously.
|
inline |
|
inline |
Construct a Future from synchronized host data.
This constructor is used for MPI operations where the data resides in host memory and is guaranteed to be valid at the time of the call.
| req | The MPI request handle for the operation. |
| synced_host_data | A unique pointer to a vector containing host memory. |