9.2
general documentation
mpi_wrapper Class Reference

#include <cs_execution_context.h>

+ Collaboration diagram for mpi_wrapper:

Public Member Functions

CS_F_HOST mpi_wrapper ()
 
CS_F_HOST ~mpi_wrapper ()
 
CS_F_HOST_DEVICE int rank () const
 
CS_F_HOST_DEVICE int n_ranks () const
 
CS_F_HOST_DEVICE bool active () const
 
CS_F_HOST_DEVICE bool is_root () const
 
CS_F_HOST void free ()
 
CS_F_HOST void set_comm (MPI_Comm comm)
 
CS_F_HOST MPI_Comm comm () const
 

Constructor & Destructor Documentation

◆ mpi_wrapper()

CS_F_HOST mpi_wrapper ( )
inline

◆ ~mpi_wrapper()

CS_F_HOST ~mpi_wrapper ( )
inline

Member Function Documentation

◆ active()

CS_F_HOST_DEVICE bool active ( ) const
inline

◆ comm()

CS_F_HOST MPI_Comm comm ( ) const
inline

◆ free()

CS_F_HOST void free ( )
inline

◆ is_root()

CS_F_HOST_DEVICE bool is_root ( ) const
inline

◆ n_ranks()

CS_F_HOST_DEVICE int n_ranks ( ) const
inline

◆ rank()

CS_F_HOST_DEVICE int rank ( ) const
inline

◆ set_comm()

CS_F_HOST void set_comm ( MPI_Comm  comm)
inline

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