Base class for implementation-specific Worlds.
More...
#include <world.h>
Base class for implementation-specific Worlds.
Definition at line 34 of file world.h.
◆ WorldImplBase()
| ttg::base::WorldImplBase::WorldImplBase |
( |
int |
size, |
|
|
int |
rank |
|
) |
| |
|
inlineprotected |
◆ ~WorldImplBase()
| virtual ttg::base::WorldImplBase::~WorldImplBase |
( |
void |
| ) |
|
|
inlinevirtual |
◆ dag_off()
| virtual void ttg::base::WorldImplBase::dag_off |
( |
| ) |
|
|
inlinevirtual |
◆ dag_on()
| virtual void ttg::base::WorldImplBase::dag_on |
( |
const std::string & |
filename | ) |
|
|
inlinevirtual |
◆ dag_profiling()
| virtual bool ttg::base::WorldImplBase::dag_profiling |
( |
| ) |
|
|
inlinevirtual |
◆ deregister_op()
| void ttg::base::WorldImplBase::deregister_op |
( |
ttg::TTBase * |
op | ) |
|
|
inline |
Deregister a TT from this world. TTs deregister themselves during destruction to avoid dangling references.
Definition at line 145 of file world.h.
◆ destroy()
| virtual void ttg::base::WorldImplBase::destroy |
( |
void |
| ) |
|
|
pure virtual |
◆ execute()
| virtual void ttg::base::WorldImplBase::execute |
( |
| ) |
|
|
inlinevirtual |
Start the execution of tasks in this world. The call to execute() will return immediately, i.e., it will not wait for all tasks to complete executing.
- See also
- fence
Reimplemented in ttg_parsec::WorldImpl.
Definition at line 129 of file world.h.
◆ fence()
| void ttg::base::WorldImplBase::fence |
( |
void |
| ) |
|
|
inline |
Wait for all tasks in this world to complete execution. This is a synchronizing call, even if no active tasks exist (i.e., fence() behaves as a barrier).
Definition at line 110 of file world.h.
◆ fence_impl()
| virtual void ttg::base::WorldImplBase::fence_impl |
( |
void |
| ) |
|
|
protectedpure virtual |
◆ final_task()
| virtual void ttg::base::WorldImplBase::final_task |
( |
| ) |
|
|
inlinevirtual |
◆ is_valid()
| bool ttg::base::WorldImplBase::is_valid |
( |
void |
| ) |
const |
|
inline |
Whether this world is valid. A word is marked as invalid during destruction and/or finalization of TTG.
Definition at line 155 of file world.h.
◆ mark_invalid()
| void ttg::base::WorldImplBase::mark_invalid |
( |
| ) |
|
|
inlineprotected |
◆ profile_off()
| virtual void ttg::base::WorldImplBase::profile_off |
( |
| ) |
|
|
inlinevirtual |
◆ profile_on()
| virtual void ttg::base::WorldImplBase::profile_on |
( |
| ) |
|
|
inlinevirtual |
◆ profiling()
| virtual bool ttg::base::WorldImplBase::profiling |
( |
| ) |
|
|
inlinevirtual |
◆ rank()
| int ttg::base::WorldImplBase::rank |
( |
| ) |
|
|
inline |
Returns the rank of the calling process in this World.
Definition at line 79 of file world.h.
◆ register_callback()
template<typename Callback >
| void ttg::base::WorldImplBase::register_callback |
( |
Callback && |
callback | ) |
|
|
inline |
◆ register_op()
| void ttg::base::WorldImplBase::register_op |
( |
ttg::TTBase * |
op | ) |
|
|
inline |
Register a TT with this world. All registered TTs will be destroyed during destruction of this world.
Definition at line 136 of file world.h.
◆ register_ptr() [1/2]
template<typename T >
| void ttg::base::WorldImplBase::register_ptr |
( |
const std::shared_ptr< T > & |
ptr | ) |
|
|
inline |
◆ register_ptr() [2/2]
template<typename T >
| void ttg::base::WorldImplBase::register_ptr |
( |
std::unique_ptr< T > && |
ptr | ) |
|
|
inline |
◆ register_status()
| void ttg::base::WorldImplBase::register_status |
( |
const std::shared_ptr< std::promise< void > > & |
status_ptr | ) |
|
|
inline |
◆ release_ops()
| void ttg::base::WorldImplBase::release_ops |
( |
void |
| ) |
|
|
inlineprotected |
◆ size()
| int ttg::base::WorldImplBase::size |
( |
| ) |
|
|
inline |
Returns the number of processes that belong this World.
Definition at line 72 of file world.h.
The documentation for this class was generated from the following file: