FreePOOMA
2.4.1
|
ContiguousMapper is a ContextMapper implementation. More...
#include <ContiguousMapper.h>
Public Types | |
typedef Interval< Dim > | Domain_t |
typedef Node< Domain_t > | Value_t |
typedef std::vector< Value_t * > | List_t |
Public Member Functions | |
template<class Partitioner > | |
ContiguousMapper (const Partitioner &gp, const Loc< Dim > &nblocks) | |
template<class Partitioner > | |
ContiguousMapper (const Partitioner &gp) | |
ContiguousMapper (const Loc< Dim > &blocks) | |
void | map (const List_t &templist) const |
Public Attributes | |
Loc< Dim > | blocks_m |
ContiguousMapper is a ContextMapper implementation.
It assigns contexts to nodes in a contiguous fashion.
typedef Interval<Dim> ContiguousMapper< Dim >::Domain_t |
Reimplemented from ContextMapper< Dim >.
typedef Node<Domain_t> ContiguousMapper< Dim >::Value_t |
Reimplemented from ContextMapper< Dim >.
typedef std::vector<Value_t *> ContiguousMapper< Dim >::List_t |
Reimplemented from ContextMapper< Dim >.
ContiguousMapper< Dim >::ContiguousMapper | ( | const Partitioner & | gp, |
const Loc< Dim > & | nblocks | ||
) | [inline] |
ContiguousMapper< Dim >::ContiguousMapper | ( | const Partitioner & | gp | ) | [inline] |
ContiguousMapper< Dim >::ContiguousMapper | ( | const Loc< Dim > & | blocks | ) | [inline] |
void ContiguousMapper< Dim >::map | ( | const List_t & | templist | ) | const [virtual] |
Implements ContextMapper< Dim >.
References Pooma::context(), Pooma::contexts(), and ContextMapper< Dim >::setAffinity().
Loc<Dim> ContiguousMapper< Dim >::blocks_m |