cuda::experimental::stf::task_dep
Defined in include/cuda/experimental/__stf/internal/task_dep.cuh
-
template<typename T>
class task_dep : public cuda::experimental::stf::task_dep_untyped Type storing dependency information for one data item, including the data type.
- Template Parameters
<tt>T</tt> – The user-level type involved (e.g.
slice<double>
orslice<const double>
for a contiguous array). Note thatT
may be different inconst
qualifiers than the actual type stored in the dependency information.
Public Functions
-
decltype(auto) instance(task&) const
Returns a reference to
T
ifT
is the same as the stored type, or an rvalue of typeT
ifT
has additionalconst
qualifiers.- Returns
decltype(auto)
T&
orT
-
inline logical_data_untyped get_data() const
-
inline instance_id_t get_instance_id() const
-
inline task_dep_untyped as_read_mode_untyped() const
-
inline void set_instance_id(instance_id_t id)
-
inline access_mode get_access_mode() const
-
inline const data_place &get_dplace() const
-
inline ::std::shared_ptr<reduction_operator_base> get_redux_op() const
-
inline bool operator<(const task_dep_untyped &rhs) const
-
inline bool operator==(const task_dep_untyped &rhs) const
-
inline bool operator!=(const task_dep_untyped &rhs) const
-
inline void set_symbol(::std::string s) const
-
inline const ::std::string &get_symbol() const
-
inline void set_data_footprint(size_t f) const
-
inline size_t get_data_footprint() const
-
inline void reset_logical_data()