![]() |
Realm
A distributed, event-based tasking library
|
#include <runtime.h>
Classes | |
| struct | KeyValueStoreVtable |
Public Types | |
| enum | RunStyle { ONE_TASK_ONLY , ONE_TASK_PER_NODE , ONE_TASK_PER_PROC } |
Public Member Functions | |
| Runtime (void) | |
| Runtime (const Runtime &r) | |
| Runtime & | operator= (const Runtime &r) |
| ~Runtime (void) | |
| bool | network_init (int *argc, char ***argv) |
| bool | network_init (const KeyValueStoreVtable &vtable) |
| void | parse_command_line (int argc, char **argv) |
| void | parse_command_line (std::vector< std::string > &cmdline, bool remove_realm_args=false) |
| void | finish_configure (void) |
| bool | configure_from_command_line (int argc, char **argv) |
| bool | configure_from_command_line (std::vector< std::string > &cmdline, bool remove_realm_args=false) |
| void | start (void) |
| bool | init (int *argc, char ***argv) |
| bool | register_task (Processor::TaskFuncID taskid, Processor::TaskFuncPtr taskptr) |
| bool | register_reduction (Event &event, ReductionOpID redop_id, const ReductionOpUntyped *redop) |
| bool | register_reduction (ReductionOpID redop_id, const ReductionOpUntyped *redop) |
| template<typename REDOP > | |
| bool | register_reduction (ReductionOpID redop_id) |
| template<typename REDOP > | |
| bool | register_reduction (Event &event, ReductionOpID redop_id) |
| bool | register_custom_serdez (CustomSerdezID serdez_id, const CustomSerdezUntyped *serdez) |
| template<typename SERDEZ > | |
| bool | register_custom_serdez (CustomSerdezID serdez_id) |
| Event | collective_spawn (Processor target_proc, Processor::TaskFuncID task_id, const void *args, size_t arglen, Event wait_on=Event::NO_EVENT, int priority=0) |
| Event | collective_spawn_by_kind (Processor::Kind target_kind, Processor::TaskFuncID task_id, const void *args, size_t arglen, bool one_per_node=false, Event wait_on=Event::NO_EVENT, int priority=0) |
| REALM_ATTR_DEPRECATED ("use collective_spawn calls instead", void run(Processor::TaskFuncID task_id=0, RunStyle style=ONE_TASK_ONLY, const void *args=0, size_t arglen=0, bool background=false)) | |
| void | shutdown (Event wait_on=Event::NO_EVENT, int result_code=0) |
| int | wait_for_shutdown (void) |
| bool | create_configs (int argc, char **argv) |
| ModuleConfig * | get_module_config (const std::string &name) const |
| template<typename T > | |
| T * | get_module (const char *name) |
Static Public Member Functions | |
| static Runtime | get_runtime (void) |
| static const char * | get_library_version () |
Protected Member Functions | |
| Module * | get_module_untyped (const char *name) |
Protected Attributes | |
| void * | impl |
| Realm::Runtime::Runtime | ( | void | ) |
|
inline |
|
inline |
| Event Realm::Runtime::collective_spawn | ( | Processor | target_proc, |
| Processor::TaskFuncID | task_id, | ||
| const void * | args, | ||
| size_t | arglen, | ||
| Event | wait_on = Event::NO_EVENT, |
||
| int | priority = 0 |
||
| ) |
| Event Realm::Runtime::collective_spawn_by_kind | ( | Processor::Kind | target_kind, |
| Processor::TaskFuncID | task_id, | ||
| const void * | args, | ||
| size_t | arglen, | ||
| bool | one_per_node = false, |
||
| Event | wait_on = Event::NO_EVENT, |
||
| int | priority = 0 |
||
| ) |
| bool Realm::Runtime::configure_from_command_line | ( | int | argc, |
| char ** | argv | ||
| ) |
| bool Realm::Runtime::configure_from_command_line | ( | std::vector< std::string > & | cmdline, |
| bool | remove_realm_args = false |
||
| ) |
| bool Realm::Runtime::create_configs | ( | int | argc, |
| char ** | argv | ||
| ) |
| void Realm::Runtime::finish_configure | ( | void | ) |
|
static |
|
inline |
| ModuleConfig * Realm::Runtime::get_module_config | ( | const std::string & | name | ) | const |
|
protected |
|
static |
| bool Realm::Runtime::init | ( | int * | argc, |
| char *** | argv | ||
| ) |
| bool Realm::Runtime::network_init | ( | const KeyValueStoreVtable & | vtable | ) |
| bool Realm::Runtime::network_init | ( | int * | argc, |
| char *** | argv | ||
| ) |
| void Realm::Runtime::parse_command_line | ( | int | argc, |
| char ** | argv | ||
| ) |
| void Realm::Runtime::parse_command_line | ( | std::vector< std::string > & | cmdline, |
| bool | remove_realm_args = false |
||
| ) |
| Realm::Runtime::REALM_ATTR_DEPRECATED | ( | "use collective_spawn calls instead" | , |
| void | runProcessor::TaskFuncID task_id=0, RunStyle style=ONE_TASK_ONLY, const void *args=0, size_t arglen=0, bool background=false | ||
| ) |
|
inline |
| bool Realm::Runtime::register_custom_serdez | ( | CustomSerdezID | serdez_id, |
| const CustomSerdezUntyped * | serdez | ||
| ) |
|
inline |
| bool Realm::Runtime::register_reduction | ( | Event & | event, |
| ReductionOpID | redop_id, | ||
| const ReductionOpUntyped * | redop | ||
| ) |
|
inline |
|
inline |
| bool Realm::Runtime::register_task | ( | Processor::TaskFuncID | taskid, |
| Processor::TaskFuncPtr | taskptr | ||
| ) |
| void Realm::Runtime::shutdown | ( | Event | wait_on = Event::NO_EVENT, |
| int | result_code = 0 |
||
| ) |
| void Realm::Runtime::start | ( | void | ) |
| int Realm::Runtime::wait_for_shutdown | ( | void | ) |
|
protected |