libpressio 0.93.0
|
#include <serializable.h>
Public Types | |
using | mpi_type = std::false_type |
Static Public Member Functions | |
static MPI_Datatype | dtype () |
static std::string | name () |
static int | send (pressio_thread_safety const &dtype, int dest, int tag, MPI_Comm comm) |
static int | recv (pressio_thread_safety &dtype, int source, int tag, MPI_Comm comm, MPI_Status *status) |
static int | bcast (pressio_thread_safety &dtype, int root, MPI_Comm comm) |
serializer for pressio_dtypes tyeps
using distributed::comm::serializer::serializer< pressio_thread_safety >::mpi_type = std::false_type |
is the type representable with mpi_types
|
static |
broadcast a value
[in] | dtype | the datatype to broadcast |
[in] | root | the root to broadcast from |
[in] | comm | the communicator to use |
|
inlinestatic |
type MPI_Datatype when mpi_type is true
|
inlinestatic |
name of the data type
|
static |
recv the value
[out] | dtype | the datatype to serialize |
[in] | source | the destination to send to |
[in] | tag | the tag to use |
[in] | comm | the comm to serialize to |
[out] | status | the optional status to receive |
|
static |
send the value
[in] | dtype | the datatype to serialize |
[in] | dest | the destination to send to |
[in] | tag | the tag to use |
[in] | comm | the comm to serialize to |