![]() |
Realm
A distributed, event-based tasking library
|
#include <runtime_impl.h>
Classes | |
| class | DeferredShutdown |
Static Public Member Functions | |
| static void | realm_backtrace (int signal) |
Protected Member Functions | |
| Module * | get_module_untyped (const char *name) const |
| void | create_shared_peers (void) |
| Auxilary function to create Network::shared_peers using either ipc mailbox or relying on network modules. | |
| bool | share_memories (void) |
| Auxilary function for handling the sharing mechanism of all registered memories across the machine. | |
Protected Attributes | |
| ID::IDType | num_local_memories |
| ID::IDType | num_local_ib_memories |
| ID::IDType | num_local_processors |
| NetworkSegment | reg_ib_mem_segment |
| NetworkSegment | reg_mem_segment |
| ModuleRegistrar | module_registrar |
| bool | modules_created |
| bool | module_configs_created |
| std::vector< Module * > | modules |
| std::vector< CodeTranslator * > | code_translators |
| std::vector< NetworkModule * > | network_modules |
| std::vector< NetworkSegment * > | network_segments |
| std::map< std::string, ModuleConfig * > | module_configs |
| Runtime::KeyValueStoreVtable | key_value_store_vtable |
| std::vector< uint8_t > | key_value_store_vtable_data |
Friends | |
| class | Runtime |
| Realm::RuntimeImpl::RuntimeImpl | ( | void | ) |
| Realm::RuntimeImpl::~RuntimeImpl | ( | void | ) |
| void Realm::RuntimeImpl::add_code_translator | ( | CodeTranslator * | t | ) |
| void Realm::RuntimeImpl::add_dma_channel | ( | Channel * | c | ) |
| void Realm::RuntimeImpl::add_ib_memory | ( | IBMemory * | m | ) |
| void Realm::RuntimeImpl::add_memory | ( | MemoryImpl * | m | ) |
| void Realm::RuntimeImpl::add_proc_mem_affinity | ( | const Machine::ProcessorMemoryAffinity & | pma | ) |
| void Realm::RuntimeImpl::add_processor | ( | ProcessorImpl * | p | ) |
| Event Realm::RuntimeImpl::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::RuntimeImpl::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::RuntimeImpl::configure_from_command_line | ( | std::vector< std::string > & | cmdline | ) |
| CoreReservationSet & Realm::RuntimeImpl::core_reservation_set | ( | void | ) |
| bool Realm::RuntimeImpl::create_configs | ( | int | argc, |
| char ** | argv | ||
| ) |
|
protected |
Auxilary function to create Network::shared_peers using either ipc mailbox or relying on network modules.
| void Realm::RuntimeImpl::finish_configure | ( | void | ) |
| void Realm::RuntimeImpl::free_sparsity_impl | ( | SparsityMapImplWrapper * | impl | ) |
| SparsityMapImplWrapper * Realm::RuntimeImpl::get_available_sparsity_impl | ( | NodeID | target_node | ) |
| BarrierImpl * Realm::RuntimeImpl::get_barrier_impl | ( | Event | e | ) |
| const std::vector< CodeTranslator * > & Realm::RuntimeImpl::get_code_translators | ( | void | ) | const |
| CompQueueImpl * Realm::RuntimeImpl::get_compqueue_impl | ( | ID | id | ) |
| GenEventImpl * Realm::RuntimeImpl::get_genevent_impl | ( | Event | e | ) |
| RegionInstanceImpl * Realm::RuntimeImpl::get_instance_impl | ( | ID | id | ) |
| ReservationImpl * Realm::RuntimeImpl::get_lock_impl | ( | ID | id | ) |
| MemoryImpl * Realm::RuntimeImpl::get_memory_impl | ( | ID | id | ) | const |
|
inline |
| ModuleConfig * Realm::RuntimeImpl::get_module_config | ( | const std::string & | name | ) | const |
|
protected |
| REALM_INTERNAL_API_EXTERNAL_LINKAGE ProcessorImpl * Realm::RuntimeImpl::get_processor_impl | ( | ID | id | ) |
| ProcessorGroupImpl * Realm::RuntimeImpl::get_procgroup_impl | ( | ID | id | ) |
| SparsityMapImplWrapper * Realm::RuntimeImpl::get_sparsity_impl | ( | ID | id | ) |
| SubgraphImpl * Realm::RuntimeImpl::get_subgraph_impl | ( | ID | id | ) |
| bool Realm::RuntimeImpl::has_key_value_store | ( | void | ) | const |
| bool Realm::RuntimeImpl::has_key_value_store_group | ( | void | ) | const |
| void Realm::RuntimeImpl::initiate_shutdown | ( | void | ) |
| bool Realm::RuntimeImpl::is_key_value_store_elastic | ( | void | ) | const |
| bool Realm::RuntimeImpl::key_value_store_bar | ( | void | ) | const |
| bool Realm::RuntimeImpl::key_value_store_cas | ( | const void * | key, |
| size_t | key_size, | ||
| void * | expected, | ||
| size_t * | expected_size, | ||
| const void * | desired, | ||
| size_t | desired_size | ||
| ) | const |
| bool Realm::RuntimeImpl::key_value_store_get | ( | const void * | key, |
| size_t | key_size, | ||
| void * | value, | ||
| size_t * | value_size | ||
| ) | const |
| std::optional< uint64_t > Realm::RuntimeImpl::key_value_store_get_int | ( | const std::string_view & | key | ) | const |
| std::optional< uint64_t > Realm::RuntimeImpl::key_value_store_local_group | ( | void | ) | const |
| std::optional< uint64_t > Realm::RuntimeImpl::key_value_store_local_rank | ( | void | ) | const |
| std::optional< uint64_t > Realm::RuntimeImpl::key_value_store_local_ranks | ( | void | ) | const |
| bool Realm::RuntimeImpl::key_value_store_put | ( | const void * | key, |
| size_t | key_size, | ||
| const void * | value, | ||
| size_t | value_size | ||
| ) | const |
| bool Realm::RuntimeImpl::network_init | ( | int * | argc, |
| char *** | argv, | ||
| const Runtime::KeyValueStoreVtable & | vtable | ||
| ) |
| Memory Realm::RuntimeImpl::next_local_ib_memory_id | ( | void | ) |
| Memory Realm::RuntimeImpl::next_local_memory_id | ( | void | ) |
| Processor Realm::RuntimeImpl::next_local_processor_id | ( | void | ) |
| Event Realm::RuntimeImpl::notify_register_reduction | ( | ReductionOpID | redop_id | ) |
| void Realm::RuntimeImpl::parse_command_line | ( | std::vector< std::string > & | cmdline | ) |
|
static |
| bool Realm::RuntimeImpl::register_custom_serdez | ( | CustomSerdezID | serdez_id, |
| const CustomSerdezUntyped * | serdez | ||
| ) |
| bool Realm::RuntimeImpl::register_reduction | ( | Event & | event, |
| ReductionOpID | redop_id, | ||
| const ReductionOpUntyped * | redop | ||
| ) |
| bool Realm::RuntimeImpl::register_task | ( | Processor::TaskFuncID | taskid, |
| Processor::TaskFuncPtr | taskptr | ||
| ) |
| bool Realm::RuntimeImpl::request_shutdown | ( | Event | wait_on, |
| int | result_code | ||
| ) |
| void Realm::RuntimeImpl::run | ( | Processor::TaskFuncID | task_id = 0, |
| Runtime::RunStyle | style = Runtime::ONE_TASK_ONLY, |
||
| const void * | args = 0, |
||
| size_t | arglen = 0, |
||
| bool | background = false |
||
| ) |
|
protected |
Auxilary function for handling the sharing mechanism of all registered memories across the machine.
| void Realm::RuntimeImpl::shutdown | ( | Event | wait_on = Event::NO_EVENT, |
| int | result_code = 0 |
||
| ) |
| void Realm::RuntimeImpl::start | ( | void | ) |
| int Realm::RuntimeImpl::wait_for_shutdown | ( | void | ) |
|
friend |
| BackgroundWorkManager Realm::RuntimeImpl::bgwork |
|
protected |
| CoreReservationSet* Realm::RuntimeImpl::core_reservations |
| LockedMap<CustomSerdezID, CustomSerdezUntyped *> Realm::RuntimeImpl::custom_serdez_table |
| DeferredShutdown Realm::RuntimeImpl::deferred_shutdown |
| EventTriggerNotifier Realm::RuntimeImpl::event_triggerer |
| HardwareTopology Realm::RuntimeImpl::host_topology |
|
protected |
|
protected |
| BarrierTableAllocator::FreeList* Realm::RuntimeImpl::local_barrier_free_list {nullptr} |
| CompQueueTableAllocator::FreeList* Realm::RuntimeImpl::local_compqueue_free_list {nullptr} |
| LocalEventTableAllocator::FreeList* Realm::RuntimeImpl::local_event_free_list {nullptr} |
| DynamicTable<LocalEventTableAllocator> Realm::RuntimeImpl::local_events |
| std::vector<ProcessorGroupTableAllocator::FreeList *> Realm::RuntimeImpl::local_proc_group_free_lists |
| ReservationTableAllocator::FreeList* Realm::RuntimeImpl::local_reservation_free_list {nullptr} |
| std::unordered_map<realm_id_t, SharedMemoryInfo> Realm::RuntimeImpl::local_shared_memory_mappings |
| std::vector<SparsityMapTableAllocator::FreeList *> Realm::RuntimeImpl::local_sparsity_map_free_lists |
| std::vector<SubgraphTableAllocator::FreeList *> Realm::RuntimeImpl::local_subgraph_free_lists |
| MachineImpl* Realm::RuntimeImpl::machine |
| IncomingMessageManager* Realm::RuntimeImpl::message_manager |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
| Node* Realm::RuntimeImpl::nodes |
|
protected |
|
protected |
|
protected |
| size_t Realm::RuntimeImpl::num_nodes |
| atomic<size_t> Realm::RuntimeImpl::num_untriggered_events |
| OperationTable Realm::RuntimeImpl::optable |
| LockedMap<ReductionOpID, ReductionOpUntyped *> Realm::RuntimeImpl::reduce_op_table |
|
protected |
|
protected |
| std::unordered_map<realm_id_t, SharedMemoryInfo> Realm::RuntimeImpl::remote_shared_memory_mappings |
| ReplicatedHeap Realm::RuntimeImpl::repl_heap |
| bool Realm::RuntimeImpl::run_method_called |
| SamplingProfiler Realm::RuntimeImpl::sampling_profiler |
| bool Realm::RuntimeImpl::shared_peers_use_network_module = true |
| Mutex::CondVar Realm::RuntimeImpl::shutdown_condvar |
| atomic<bool> Realm::RuntimeImpl::shutdown_in_progress |
| bool Realm::RuntimeImpl::shutdown_initiated |
| Mutex Realm::RuntimeImpl::shutdown_mutex |
| Event Realm::RuntimeImpl::shutdown_precondition |
| bool Realm::RuntimeImpl::shutdown_request_received |
| int Realm::RuntimeImpl::shutdown_result_code |
| bool Realm::RuntimeImpl::topology_init = false |