Go to the documentation of this file.
5 #ifndef TILEDARRAY_PMAP_ROUND_ROBIN_PMAP_H__INCLUDED
6 #define TILEDARRAY_PMAP_ROUND_ROBIN_PMAP_H__INCLUDED
37 if (remainder_ == 0 ||
rank_ >= remainder_)
67 #endif // TILEDARRAY_PMAP_ROUND_ROBIN_PMAP_H__INCLUDED
virtual bool is_local(const size_type tile) const
Check that the tile is owned by this process.
virtual size_type owner(const size_type tile) const
Maps tile to the processor that owns it.
const size_type rank_
< The number of processes
const size_type procs_
The number of processes.
#define TA_ASSERT(EXPR,...)
const size_type procs_
The number of processes.
RoundRobinPmap(World &world, size_type size)
Construct Round Robin map.
const size_type size_
< The rank of this process
size_type size() const
Size accessor.
const size_type rank_
The rank of this process.
std::size_t size_type
Size type.
const size_type size_
The number of tiles mapped among all processes.
Pmap::size_type size_type
Key type.
virtual ~RoundRobinPmap()