|
Charades
|
Base class which defines the mapper interface used during simulation setup. More...
#include <mapper.h>
Public Member Functions | |
| virtual uint64_t | get_chare_id (uint64_t global_id) const =0 |
Maps a global LP id, gid, to a chare id. | |
| virtual uint64_t | get_local_id (uint64_t global_id) const =0 |
Maps a global LP id, gid, to its local offset id within its chare. | |
| virtual uint64_t | get_global_id (uint64_t chare_id, uint64_t local_id) const =0 |
| Maps a chare id and offset within the chare to a global LP id. More... | |
| virtual uint64_t | get_num_lps (uint64_t chare_id) const =0 |
| Maps a chare id to the number of LPs that chare will have. | |
Base class which defines the mapper interface used during simulation setup.
|
pure virtual |
Maps a chare id and offset within the chare to a global LP id.
Implemented in BlockMapper.
1.8.14