Ginkgo  Generated from pipelines/1478841010 branch based on develop. Ginkgo version 1.9.0
A numerical linear algebra library targeting many-core architectures
Public Member Functions | List of all members
gko::experimental::mpi::status Struct Reference

The status struct is a light wrapper around the MPI_Status struct. More...

#include <ginkgo/core/base/mpi.hpp>

Public Member Functions

 status ()
 The default constructor. More...
 
MPI_Status * get ()
 Get a pointer to the underlying MPI_Status object. More...
 
template<typename T >
int get_count (const T *data) const
 Get the count of the number of elements received by the communication call. More...
 

Detailed Description

The status struct is a light wrapper around the MPI_Status struct.

Constructor & Destructor Documentation

◆ status()

gko::experimental::mpi::status::status ( )
inline

The default constructor.

It creates an empty MPI_Status

Member Function Documentation

◆ get()

MPI_Status* gko::experimental::mpi::status::get ( )
inline

Get a pointer to the underlying MPI_Status object.

Returns
a pointer to MPI_Status object

Referenced by gko::experimental::mpi::communicator::recv(), and gko::experimental::mpi::request::wait().

◆ 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
TThe datatype of the object that was received.
Parameters
dataThe data object of type T that was received.
Returns
the count

The documentation for this struct was generated from the following file: