For backends that support multiple user processes this class defines some basic primitives to support SPMD programming.
More...
|
static size_t | nprocs () noexcept |
|
static size_t | pid () noexcept |
|
template<Backend implementation>
class grb::spmd< implementation >
For backends that support multiple user processes this class defines some basic primitives to support SPMD programming.
All backends must implement this interface, including backends that do not support multiple user processes. The interface herein defined hence ensures to allow for trivial implementations for single user process backends.
◆ nprocs()
- Returns
- The number of user processes in this ALP run.
◆ pid()
- Returns
- The ID of this user process.
The documentation for this class was generated from the following file: