cuda::experimental::stf::graph_task

Defined in include/cuda/experimental/__stf/graph/graph_task.cuh

template<typename ...Deps>
class graph_task

Provides a graph scope object within which functions invoked are either captured in a graph or passed to a subgraph, depending on the function type.

Invocation is carried by means of operator->*. Dependencies are typed appropriately.

Public Functions

inline graph_task(backend_ctx_untyped ctx, cudaGraph_t g, size_t epoch, exec_place e_place, task_dep<Deps>... deps)
inline graph_task &set_symbol(::std::string s) &

Set the symbol object.

Parameters

s

Returns

graph_task&

inline graph_task &&set_symbol(::std::string s) &&
template<typename Fun>
inline void operator->*(Fun &&f)