List of all members |
Public Types |
Public Member Functions |
Static Public Member Functions |
Public Attributes |
Static Public Attributes
ttg_parsec::detail::parsec_ttg_task_t< TT, KeyIsVoid > Struct Template Reference
Inheritance diagram for ttg_parsec::detail::parsec_ttg_task_t< TT, KeyIsVoid >:
Documentation
template<typename TT, bool KeyIsVoid = ttg::meta::is_void_v<typename TT::key_type>>
struct ttg_parsec::detail::parsec_ttg_task_t< TT, KeyIsVoid >
Public Types | |
using | key_type = typename TT::key_type |
Public Types inherited from ttg_parsec::detail::parsec_ttg_task_base_t | |
typedef void() | release_task_fn(parsec_ttg_task_base_t *) |
Public Member Functions | |
parsec_ttg_task_t (parsec_thread_mempool_t *mempool, parsec_task_class_t *task_class, TT *tt_ptr) | |
parsec_ttg_task_t (const key_type &key, parsec_thread_mempool_t *mempool, parsec_task_class_t *task_class, parsec_taskpool_t *taskpool, TT *tt_ptr, int32_t priority) | |
template<ttg::ExecutionSpace Space> | |
parsec_hook_return_t | invoke_op () |
template<ttg::ExecutionSpace Space> | |
parsec_hook_return_t | invoke_evaluate () |
parsec_key_t | pkey () |
Public Member Functions inherited from ttg_parsec::detail::parsec_ttg_task_base_t | |
void | release_task () |
void | set_dummy (bool d) |
bool | is_dummy () |
Static Public Member Functions | |
static void | release_task (parsec_ttg_task_base_t *task_base) |
Public Attributes | |
TT * | tt = nullptr |
key_type | key |
std::array< stream_info_t, num_streams > | streams |
device_state_t< TT::derived_has_device_op()> | dev_state |
ttg_data_copy_t * | copies [num_copies] = { nullptr } |
Public Attributes inherited from ttg_parsec::detail::parsec_ttg_task_base_t | |
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_fn * | release_task_cb = nullptr |
device_ptr_t * | dev_ptr = nullptr |
bool | remove_from_hash = true |
bool | dummy = false |
bool | defer_writer = TTG_PARSEC_DEFER_WRITER |
ttg_parsec_data_flags | data_flags |
Static Public Attributes | |
static constexpr size_t | num_streams = TT::numins |
static constexpr size_t | num_copies |
Additional Inherited Members | |
Protected Member Functions inherited from ttg_parsec::detail::parsec_ttg_task_base_t | |
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
◆ key_type
template<typename TT , bool KeyIsVoid = ttg::meta::is_void_v<typename TT::key_type>>
using ttg_parsec::detail::parsec_ttg_task_t< TT, KeyIsVoid >::key_type = typename TT::key_type |
Constructor & Destructor Documentation
◆ parsec_ttg_task_t() [1/2]
template<typename TT , bool KeyIsVoid = ttg::meta::is_void_v<typename TT::key_type>>
|
inline |
◆ parsec_ttg_task_t() [2/2]
template<typename TT , bool KeyIsVoid = ttg::meta::is_void_v<typename TT::key_type>>
|
inline |
Member Function Documentation
◆ invoke_evaluate()
template<typename TT , bool KeyIsVoid = ttg::meta::is_void_v<typename TT::key_type>>
template<ttg::ExecutionSpace Space>
|
inline |
◆ invoke_op()
template<typename TT , bool KeyIsVoid = ttg::meta::is_void_v<typename TT::key_type>>
template<ttg::ExecutionSpace Space>
|
inline |
◆ pkey()
template<typename TT , bool KeyIsVoid = ttg::meta::is_void_v<typename TT::key_type>>
|
inline |
◆ release_task()
template<typename TT , bool KeyIsVoid = ttg::meta::is_void_v<typename TT::key_type>>
|
inlinestatic |
Member Data Documentation
◆ copies
template<typename TT , bool KeyIsVoid = ttg::meta::is_void_v<typename TT::key_type>>
ttg_data_copy_t* ttg_parsec::detail::parsec_ttg_task_t< TT, KeyIsVoid >::copies[num_copies] = { nullptr } |
◆ dev_state
template<typename TT , bool KeyIsVoid = ttg::meta::is_void_v<typename TT::key_type>>
device_state_t<TT::derived_has_device_op()> ttg_parsec::detail::parsec_ttg_task_t< TT, KeyIsVoid >::dev_state |
◆ key
template<typename TT , bool KeyIsVoid = ttg::meta::is_void_v<typename TT::key_type>>
key_type ttg_parsec::detail::parsec_ttg_task_t< TT, KeyIsVoid >::key |
◆ num_copies
template<typename TT , bool KeyIsVoid = ttg::meta::is_void_v<typename TT::key_type>>
|
staticconstexpr |
Initial value:
: (num_streams+1)
static constexpr bool derived_has_device_op()
Definition: ttg.h:1246
static constexpr size_t num_streams
Definition: task.h:204
◆ num_streams
template<typename TT , bool KeyIsVoid = ttg::meta::is_void_v<typename TT::key_type>>
|
staticconstexpr |
◆ streams
template<typename TT , bool KeyIsVoid = ttg::meta::is_void_v<typename TT::key_type>>
std::array<stream_info_t, num_streams> ttg_parsec::detail::parsec_ttg_task_t< TT, KeyIsVoid >::streams |
◆ tt
template<typename TT , bool KeyIsVoid = ttg::meta::is_void_v<typename TT::key_type>>
TT* ttg_parsec::detail::parsec_ttg_task_t< TT, KeyIsVoid >::tt = nullptr |
The documentation for this struct was generated from the following file:
- ttg/ttg/parsec/task.h