ttg_parsec::TTValue< DerivedT > Struct Template Reference
Inheritance diagram for ttg_parsec::TTValue< DerivedT >:
Documentation
template<typename DerivedT>
struct ttg_parsec::TTValue< DerivedT >
Base class for data to moved into, through, and out of a task graph. By inheriting from this base class, TTG is able to easily track the data and avoid some of the copies otherwise necessary.
Public Types | |
using | derived_type = std::decay_t< DerivedT > |
Public Types inherited from ttg_parsec::detail::ttg_data_copy_t | |
using | iterator = ttg_parsec_data_wrapper_t ** |
using | iovec_iterator = typename std::vector< ttg::iovec >::iterator |
Additional Inherited Members | |
Public Attributes inherited from ttg_parsec::detail::ttg_data_copy_self_t | |
parsec_list_item_t | super |
ttg_data_copy_t * | self |
Static Public Attributes inherited from ttg_parsec::detail::ttg_data_copy_t | |
static constexpr int | mutable_tag = std::numeric_limits<int>::min() |
Protected Attributes inherited from ttg_parsec::detail::ttg_data_copy_t | |
parsec_task_t * | m_next_task = nullptr |
int32_t | m_readers = 1 |
std::atomic< int32_t > | m_refs = 1 |
std::vector< ttg::iovec > | m_iovecs |
std::vector< ttg_parsec_data_wrapper_t * > | m_dev_data |
ttg_parsec_data_wrapper_t * | m_single_dev_data |
int | m_num_dev_data = 0 |
Member Typedef Documentation
◆ derived_type
template<typename DerivedT >
using ttg_parsec::TTValue< DerivedT >::derived_type = std::decay_t<DerivedT> |
Constructor & Destructor Documentation
◆ TTValue() [1/3]
template<typename DerivedT >
|
inline |
◆ TTValue() [2/3]
template<typename DerivedT >
|
inline |
◆ TTValue() [3/3]
template<typename DerivedT >
|
inline |
◆ ~TTValue()
template<typename DerivedT >
|
virtualdefault |
Member Function Documentation
◆ get_derived() [1/2]
template<typename DerivedT >
|
inline |
◆ get_derived() [2/2]
template<typename DerivedT >
|
inline |
◆ get_ptr()
template<typename DerivedT >
|
inlinefinaloverridevirtual |
Implements ttg_parsec::detail::ttg_data_copy_t.
◆ operator=() [1/2]
template<typename DerivedT >
|
inline |
◆ operator=() [2/2]
template<typename DerivedT >
|
inline |
The documentation for this struct was generated from the following files: