|
| procedure | init (this, nr_stages, nr_msg_types) |
| | Initialize the unit cache.
|
| procedure | get_cached (this, rank, stage, msg_id) |
| | Get the cached mpi type for this rank and.
|
| procedure | cache (this, rank, stage, msg_id, mpi_type) |
| | Cache the mpi datatype for this particular rank and stage. The datatype should be committed.
|
| procedure | clear (this) |
| | Clear the cache: free MPI types.
|
| procedure | destroy (this) |
| | Destroy unit cache.
|
|
| procedure, private | is_rank_cached (this, rank) |
| procedure, private | add_rank_cache (this, rank) |
| procedure, private | get_rank_index (this, rank) |
| | returns -1 when not present
|
| procedure, private | get_msg_index (this, rank, stage, msg_id) |
| | returns -1 when not present
|
Definition at line 13 of file MpiUnitCache.f90.
◆ add_rank_cache()
| procedure, private mpiunitcachemodule::mpiunitcachetype::add_rank_cache |
( |
class(mpiunitcachetype) | this, |
|
|
integer(i4b) | rank ) |
|
private |
◆ cache()
| procedure mpiunitcachemodule::mpiunitcachetype::cache |
( |
class(mpiunitcachetype) | this, |
|
|
integer(i4b) | rank, |
|
|
integer(i4b) | stage, |
|
|
integer(i4b) | msg_id, |
|
|
integer | mpi_type ) |
◆ clear()
| procedure mpiunitcachemodule::mpiunitcachetype::clear |
( |
class(mpiunitcachetype) | this | ) |
|
◆ destroy()
| procedure mpiunitcachemodule::mpiunitcachetype::destroy |
( |
class(mpiunitcachetype) | this | ) |
|
◆ get_cached()
| procedure mpiunitcachemodule::mpiunitcachetype::get_cached |
( |
class(mpiunitcachetype) | this, |
|
|
integer(i4b) | rank, |
|
|
integer(i4b) | stage, |
|
|
integer(i4b) | msg_id ) |
◆ get_msg_index()
| procedure, private mpiunitcachemodule::mpiunitcachetype::get_msg_index |
( |
class(mpiunitcachetype) | this, |
|
|
integer(i4b) | rank, |
|
|
integer(i4b) | stage, |
|
|
integer(i4b) | msg_id ) |
|
private |
◆ get_rank_index()
| procedure, private mpiunitcachemodule::mpiunitcachetype::get_rank_index |
( |
class(mpiunitcachetype) | this, |
|
|
integer(i4b) | rank ) |
|
private |
◆ init()
| procedure mpiunitcachemodule::mpiunitcachetype::init |
( |
class(mpiunitcachetype) | this, |
|
|
integer(i4b) | nr_stages, |
|
|
integer(i4b) | nr_msg_types ) |
- Parameters
-
| nr_stages | number of (simulation) stages |
| nr_msg_types | number of message types to be cached during a stage |
Definition at line 20 of file MpiUnitCache.f90.
◆ is_rank_cached()
| procedure, private mpiunitcachemodule::mpiunitcachetype::is_rank_cached |
( |
class(mpiunitcachetype) | this, |
|
|
integer(i4b) | rank ) |
|
private |
◆ cached_messages
| type(stlvecint), private mpiunitcachemodule::mpiunitcachetype::cached_messages |
|
private |
Definition at line 16 of file MpiUnitCache.f90.
16 type(STLVecInt), private :: cached_messages
◆ cached_ranks
| type(stlvecint), private mpiunitcachemodule::mpiunitcachetype::cached_ranks |
|
private |
Definition at line 15 of file MpiUnitCache.f90.
15 type(STLVecInt), private :: cached_ranks
◆ nr_msg_types
| integer(i4b), private mpiunitcachemodule::mpiunitcachetype::nr_msg_types |
|
private |
◆ nr_stages
| integer(i4b), private mpiunitcachemodule::mpiunitcachetype::nr_stages |
|
private |
The documentation for this type was generated from the following file: