ALP User Documentation  0.8.preview
Algebraic Programming User Documentation
Static Public Member Functions | List of all members
spmd< implementation > Class Template Reference

For backends that support multiple user processes this class defines some basic primitives to support SPMD programming. More...

Static Public Member Functions

static size_t nprocs () noexcept
 
static size_t pid () noexcept
 

Detailed Description

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.

Member Function Documentation

◆ nprocs()

static size_t nprocs ( )
inlinestaticnoexcept
Returns
The number of user processes in this ALP run.

◆ pid()

static size_t pid ( )
inlinestaticnoexcept
Returns
The ID of this user process.

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