PaCO++
0.05
|
Go to the source code of this file.
Functions | |
static unsigned | getProcId (unsigned rank, Topology_t topo) |
static unsigned | getProcRangeInf (unsigned low, unsigned bsz) |
static unsigned | getProcRangeSup (unsigned high, unsigned bsz) |
static unsigned getProcId | ( | unsigned | rank, |
Topology_t | topo | ||
) | [inline, static] |
Definition at line 11 of file Internal.h.
Referenced by doSchedule().
{
return (rank % topo.total);
}
static unsigned getProcRangeInf | ( | unsigned | low, |
unsigned | bsz | ||
) | [inline, static] |
Definition at line 4 of file Internal.h.
{ return low / bsz; // first remote node }
static unsigned getProcRangeSup | ( | unsigned | high, |
unsigned | bsz | ||
) | [inline, static] |
Definition at line 7 of file Internal.h.
{ return (high-1) / bsz; // last remote node }