ttg_parsec::detail::parsec_ttg_task_base_t Struct Reference
Inheritance diagram for ttg_parsec::detail::parsec_ttg_task_base_t:
ttg_parsec::detail::parsec_ttg_task_t< TT, KeyIsVoid > ttg_parsec::detail::parsec_ttg_task_t< TT, true > ttg_parsec::detail::reducer_task_t

Documentation

Definition at line 89 of file task.h.

Classes

struct  stream_info_t
 

Public Types

typedef void() release_task_fn(parsec_ttg_task_base_t *)
 

Public Member Functions

void release_task ()
 
void set_dummy (bool d)
 
bool is_dummy ()
 

Public Attributes

parsec_task_t parsec_task
 
int32_t in_data_count = 0
 
int32_t data_count = 0
 
ttg_data_copy_t ** copies
 
parsec_hash_table_item_t tt_ht_item = {}
 
release_task_fnrelease_task_cb = nullptr
 
device_ptr_tdev_ptr = nullptr
 
bool remove_from_hash = true
 
bool dummy = false
 
bool defer_writer = TTG_PARSEC_DEFER_WRITER
 
ttg_parsec_data_flags data_flags
 

Protected Member Functions

template<std::size_t i = 0, typename TT >
void init_stream_info_impl (TT *tt, std::array< stream_info_t, TT::numins > &streams)
 
template<typename TT >
void init_stream_info (TT *tt, std::array< stream_info_t, TT::numins > &streams)
 
 parsec_ttg_task_base_t (parsec_thread_mempool_t *mempool, parsec_task_class_t *task_class, int data_count, ttg_data_copy_t **copies, bool defer_writer=TTG_PARSEC_DEFER_WRITER)
 
 parsec_ttg_task_base_t (parsec_thread_mempool_t *mempool, parsec_task_class_t *task_class, parsec_taskpool_t *taskpool, int32_t priority, int data_count, ttg_data_copy_t **copies, release_task_fn *release_fn, bool defer_writer=TTG_PARSEC_DEFER_WRITER)
 

Member Typedef Documentation

◆ release_task_fn

typedef void() ttg_parsec::detail::parsec_ttg_task_base_t::release_task_fn(parsec_ttg_task_base_t *)

Definition at line 126 of file task.h.

Constructor & Destructor Documentation

◆ parsec_ttg_task_base_t() [1/2]

ttg_parsec::detail::parsec_ttg_task_base_t::parsec_ttg_task_base_t ( parsec_thread_mempool_t *  mempool,
parsec_task_class_t *  task_class,
int  data_count,
ttg_data_copy_t **  copies,
bool  defer_writer = TTG_PARSEC_DEFER_WRITER 
)
inlineprotected

Protected constructors: this class should not be instantiated directly but always be use through parsec_ttg_task_t.

Definition at line 152 of file task.h.

◆ parsec_ttg_task_base_t() [2/2]

ttg_parsec::detail::parsec_ttg_task_base_t::parsec_ttg_task_base_t ( parsec_thread_mempool_t *  mempool,
parsec_task_class_t *  task_class,
parsec_taskpool_t *  taskpool,
int32_t  priority,
int  data_count,
ttg_data_copy_t **  copies,
release_task_fn release_fn,
bool  defer_writer = TTG_PARSEC_DEFER_WRITER 
)
inlineprotected

Definition at line 171 of file task.h.

Member Function Documentation

◆ init_stream_info()

template<typename TT >
void ttg_parsec::detail::parsec_ttg_task_base_t::init_stream_info ( TT tt,
std::array< stream_info_t, TT::numins > &  streams 
)
inlineprotected

Definition at line 121 of file task.h.

◆ init_stream_info_impl()

template<std::size_t i = 0, typename TT >
void ttg_parsec::detail::parsec_ttg_task_base_t::init_stream_info_impl ( TT tt,
std::array< stream_info_t, TT::numins > &  streams 
)
inlineprotected

Definition at line 105 of file task.h.

◆ is_dummy()

bool ttg_parsec::detail::parsec_ttg_task_base_t::is_dummy ( )
inline

Definition at line 198 of file task.h.

◆ release_task()

void ttg_parsec::detail::parsec_ttg_task_base_t::release_task ( )
inline

Definition at line 142 of file task.h.

◆ set_dummy()

void ttg_parsec::detail::parsec_ttg_task_base_t::set_dummy ( bool  d)
inline

Definition at line 197 of file task.h.

Member Data Documentation

◆ copies

ttg_data_copy_t** ttg_parsec::detail::parsec_ttg_task_base_t::copies

Definition at line 93 of file task.h.

◆ data_count

int32_t ttg_parsec::detail::parsec_ttg_task_base_t::data_count = 0

Definition at line 92 of file task.h.

◆ data_flags

ttg_parsec_data_flags ttg_parsec::detail::parsec_ttg_task_base_t::data_flags

Definition at line 136 of file task.h.

◆ defer_writer

bool ttg_parsec::detail::parsec_ttg_task_base_t::defer_writer = TTG_PARSEC_DEFER_WRITER

Definition at line 135 of file task.h.

◆ dev_ptr

device_ptr_t* ttg_parsec::detail::parsec_ttg_task_base_t::dev_ptr = nullptr

Definition at line 132 of file task.h.

◆ dummy

bool ttg_parsec::detail::parsec_ttg_task_base_t::dummy = false

Definition at line 134 of file task.h.

◆ in_data_count

int32_t ttg_parsec::detail::parsec_ttg_task_base_t::in_data_count = 0

Definition at line 91 of file task.h.

◆ parsec_task

parsec_task_t ttg_parsec::detail::parsec_ttg_task_base_t::parsec_task

Definition at line 90 of file task.h.

◆ release_task_cb

release_task_fn* ttg_parsec::detail::parsec_ttg_task_base_t::release_task_cb = nullptr

Definition at line 131 of file task.h.

◆ remove_from_hash

bool ttg_parsec::detail::parsec_ttg_task_base_t::remove_from_hash = true

Definition at line 133 of file task.h.

◆ tt_ht_item

parsec_hash_table_item_t ttg_parsec::detail::parsec_ttg_task_base_t::tt_ht_item = {}

Definition at line 94 of file task.h.


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