The status struct is a light wrapper around the MPI_Status struct.
More...
#include <ginkgo/core/base/mpi.hpp>
|
| status () |
| The default constructor.
|
|
MPI_Status * | get () |
| Get a pointer to the underlying MPI_Status object.
|
|
template<typename T> |
int | get_count (const T *data) const |
| Get the count of the number of elements received by the communication call.
|
|
The status struct is a light wrapper around the MPI_Status struct.
◆ status()
gko::experimental::mpi::status::status |
( |
| ) |
|
|
inline |
The default constructor.
It creates an empty MPI_Status
◆ get()
MPI_Status * gko::experimental::mpi::status::get |
( |
| ) |
|
|
inline |
◆ get_count()
template<typename T>
int gko::experimental::mpi::status::get_count |
( |
const T * | data | ) |
const |
|
inline |
Get the count of the number of elements received by the communication call.
- Template Parameters
-
T | The datatype of the object that was received. |
- Parameters
-
data | The data object of type T that was received. |
- Returns
- the count
The documentation for this struct was generated from the following file: