Hashed process map.
More...
#include <hash_pmap.h>
Hashed process map.
Definition at line 35 of file hash_pmap.h.
◆ size_type
◆ HashPmap()
| TiledArray::detail::HashPmap::HashPmap |
( |
World & |
world, |
|
|
const size_type |
size, |
|
|
madness::hashT |
seed = 0ul |
|
) |
| |
|
inline |
Construct a hashed process map.
- Parameters
-
| world | The world where the tiles are mapped |
| size | The number of tiles to be mapped |
| seed | The hash seed used to generate different maps |
Definition at line 56 of file hash_pmap.h.
◆ ~HashPmap()
| virtual TiledArray::detail::HashPmap::~HashPmap |
( |
| ) |
|
|
inlinevirtual |
◆ is_local()
| virtual bool TiledArray::detail::HashPmap::is_local |
( |
const size_type |
tile | ) |
const |
|
inlinevirtual |
Check that the tile is owned by this process.
- Parameters
-
| tile | The tile to be checked |
- Returns
true if tile is owned by this process, otherwise false .
Implements TiledArray::Pmap.
Definition at line 85 of file hash_pmap.h.
◆ owner()
Maps tile to the processor that owns it.
- Parameters
-
| tile | The tile to be queried |
- Returns
- Processor that logically owns
tile
Implements TiledArray::Pmap.
Definition at line 73 of file hash_pmap.h.
◆ local_
| std::vector<size_type> TiledArray::Pmap::local_ |
|
protected |
< The number of tiles mapped among all processes
Definition at line 55 of file pmap.h.
◆ procs_
< The rank of this process
Definition at line 53 of file pmap.h.
◆ rank_
The rank of this process.
Definition at line 52 of file pmap.h.
◆ size_
< The number of processes
Definition at line 54 of file pmap.h.
The documentation for this class was generated from the following file: