ttg 1.0.0
Template Task Graph (TTG): flowgraph-based programming model for high-performance distributed-memory algorithms
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
ttg_parsec::WorldImpl Class Reference

#include <ttg.h>

Inheritance diagram for ttg_parsec::WorldImpl:
[legend]
Collaboration diagram for ttg_parsec::WorldImpl:
[legend]

Public Member Functions

 WorldImpl (int *argc, char **argv[], int ncores, parsec_context_t *c=nullptr)
 
auto * context ()
 
auto * execution_stream ()
 
auto * taskpool ()
 
void create_tpool ()
 
 WorldImpl (const WorldImpl &other)=delete
 
 WorldImpl (WorldImpl &&other)=delete
 
WorldImploperator= (const WorldImpl &other)=delete
 
WorldImploperator= (WorldImpl &&other)=delete
 
 ~WorldImpl ()
 
MPI_Comm comm () const
 
virtual void execute () override
 
void destroy_tpool ()
 
virtual void destroy () override
 
ttg::Edgectl_edge ()
 
const ttg::Edgectl_edge () const
 
void increment_created ()
 
void increment_inflight_msg ()
 
void decrement_inflight_msg ()
 
bool dag_profiling () override
 
virtual void dag_on (const std::string &filename) override
 
virtual void dag_off () override
 
virtual void profile_off () override
 
virtual void profile_on () override
 
virtual bool profiling () override
 
bool mpi_support (ttg::ExecutionSpace space)
 
virtual void final_task () override
 
template<typename keyT , typename output_terminalsT , typename derivedT , typename input_valueTs = ttg::typelist<>, ttg::ExecutionSpace Space>
void register_tt_profiling (const TT< keyT, output_terminalsT, derivedT, input_valueTs, Space > *t)
 
- Public Member Functions inherited from ttg::base::WorldImplBase
virtual ~WorldImplBase (void)
 
int size ()
 
int rank ()
 
template<typename T >
void register_ptr (const std::shared_ptr< T > &ptr)
 
template<typename T >
void register_ptr (std::unique_ptr< T > &&ptr)
 
void register_status (const std::shared_ptr< std::promise< void > > &status_ptr)
 
template<typename Callback >
void register_callback (Callback &&callback)
 
void fence (void)
 
void register_op (ttg::TTBase *op)
 
void deregister_op (ttg::TTBase *op)
 
bool is_valid (void) const
 

Static Public Member Functions

static constexpr int parsec_ttg_tag ()
 
static constexpr int parsec_ttg_rma_tag ()
 

Protected Member Functions

virtual void fence_impl (void) override
 
- Protected Member Functions inherited from ttg::base::WorldImplBase
void mark_invalid ()
 
void release_ops (void)
 
 WorldImplBase (int size, int rank)
 

Detailed Description

Definition at line 237 of file ttg.h.

Constructor & Destructor Documentation

◆ WorldImpl() [1/3]

ttg_parsec::WorldImpl::WorldImpl ( int *  argc,
char **  argv[],
int  ncores,
parsec_context_t *  c = nullptr 
)
inline

Definition at line 275 of file ttg.h.

Here is the call graph for this function:

◆ WorldImpl() [2/3]

ttg_parsec::WorldImpl::WorldImpl ( const WorldImpl other)
delete

◆ WorldImpl() [3/3]

ttg_parsec::WorldImpl::WorldImpl ( WorldImpl &&  other)
delete

◆ ~WorldImpl()

ttg_parsec::WorldImpl::~WorldImpl ( )
inline

Definition at line 404 of file ttg.h.

Here is the call graph for this function:

Member Function Documentation

◆ comm()

MPI_Comm ttg_parsec::WorldImpl::comm ( ) const
inline

Definition at line 409 of file ttg.h.

Here is the caller graph for this function:

◆ context()

auto * ttg_parsec::WorldImpl::context ( )
inline

Definition at line 345 of file ttg.h.

◆ create_tpool()

void ttg_parsec::WorldImpl::create_tpool ( )
inline

Definition at line 349 of file ttg.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ctl_edge() [1/2]

ttg::Edge & ttg_parsec::WorldImpl::ctl_edge ( )
inline

Definition at line 466 of file ttg.h.

◆ ctl_edge() [2/2]

const ttg::Edge & ttg_parsec::WorldImpl::ctl_edge ( ) const
inline

Definition at line 468 of file ttg.h.

◆ dag_off()

virtual void ttg_parsec::WorldImpl::dag_off ( )
inlineoverridevirtual

Reimplemented from ttg::base::WorldImplBase.

Definition at line 493 of file ttg.h.

◆ dag_on()

virtual void ttg_parsec::WorldImpl::dag_on ( const std::string &  filename)
inlineoverridevirtual

Reimplemented from ttg::base::WorldImplBase.

Definition at line 477 of file ttg.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ dag_profiling()

bool ttg_parsec::WorldImpl::dag_profiling ( )
inlineoverridevirtual

Reimplemented from ttg::base::WorldImplBase.

Definition at line 475 of file ttg.h.

◆ decrement_inflight_msg()

void ttg_parsec::WorldImpl::decrement_inflight_msg ( )
inline

Definition at line 473 of file ttg.h.

Here is the call graph for this function:

◆ destroy()

virtual void ttg_parsec::WorldImpl::destroy ( void  )
inlineoverridevirtual

Implements ttg::base::WorldImplBase.

Definition at line 435 of file ttg.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ destroy_tpool()

void ttg_parsec::WorldImpl::destroy_tpool ( )
inline

Definition at line 422 of file ttg.h.

Here is the caller graph for this function:

◆ execute()

virtual void ttg_parsec::WorldImpl::execute ( )
inlineoverridevirtual

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 from ttg::base::WorldImplBase.

Definition at line 411 of file ttg.h.

Here is the caller graph for this function:

◆ execution_stream()

auto * ttg_parsec::WorldImpl::execution_stream ( )
inline

Definition at line 346 of file ttg.h.

Here is the caller graph for this function:

◆ fence_impl()

virtual void ttg_parsec::WorldImpl::fence_impl ( void  )
inlineoverrideprotectedvirtual

Implements ttg::base::WorldImplBase.

Definition at line 570 of file ttg.h.

Here is the call graph for this function:

◆ final_task()

virtual void ttg_parsec::WorldImpl::final_task ( )
inlineoverridevirtual

Reimplemented from ttg::base::WorldImplBase.

Definition at line 520 of file ttg.h.

Here is the call graph for this function:

◆ increment_created()

void ttg_parsec::WorldImpl::increment_created ( )
inline

Definition at line 470 of file ttg.h.

Here is the call graph for this function:

◆ increment_inflight_msg()

void ttg_parsec::WorldImpl::increment_inflight_msg ( )
inline

Definition at line 472 of file ttg.h.

Here is the call graph for this function:

◆ mpi_support()

bool ttg_parsec::WorldImpl::mpi_support ( ttg::ExecutionSpace  space)
inline

Definition at line 516 of file ttg.h.

◆ operator=() [1/2]

WorldImpl & ttg_parsec::WorldImpl::operator= ( const WorldImpl other)
delete

◆ operator=() [2/2]

WorldImpl & ttg_parsec::WorldImpl::operator= ( WorldImpl &&  other)
delete

◆ parsec_ttg_rma_tag()

static constexpr int ttg_parsec::WorldImpl::parsec_ttg_rma_tag ( )
inlinestaticconstexpr

Definition at line 407 of file ttg.h.

Here is the caller graph for this function:

◆ parsec_ttg_tag()

static constexpr int ttg_parsec::WorldImpl::parsec_ttg_tag ( )
inlinestaticconstexpr

Definition at line 406 of file ttg.h.

Here is the caller graph for this function:

◆ profile_off()

virtual void ttg_parsec::WorldImpl::profile_off ( )
inlineoverridevirtual

Reimplemented from ttg::base::WorldImplBase.

Definition at line 502 of file ttg.h.

◆ profile_on()

virtual void ttg_parsec::WorldImpl::profile_on ( )
inlineoverridevirtual

Reimplemented from ttg::base::WorldImplBase.

Definition at line 508 of file ttg.h.

Here is the caller graph for this function:

◆ profiling()

virtual bool ttg_parsec::WorldImpl::profiling ( )
inlineoverridevirtual

Reimplemented from ttg::base::WorldImplBase.

Definition at line 514 of file ttg.h.

◆ register_tt_profiling()

template<typename keyT , typename output_terminalsT , typename derivedT , typename input_valueTs = ttg::typelist<>, ttg::ExecutionSpace Space>
void ttg_parsec::WorldImpl::register_tt_profiling ( const TT< keyT, output_terminalsT, derivedT, input_valueTs, Space > *  t)
inline

Definition at line 531 of file ttg.h.

Here is the call graph for this function:

◆ taskpool()

auto * ttg_parsec::WorldImpl::taskpool ( )
inline

Definition at line 347 of file ttg.h.

Here is the caller graph for this function:

The documentation for this class was generated from the following file: