class
cudaTaskclass to create a task handle of a CUDA Graph node
Constructors, destructors, conversion operators
Public functions
- auto operator=(const cudaTask&) -> cudaTask& defaulted
- copy-assigns a cudaTask
-
template<typename... Ts>auto precede(Ts && ... tasks) -> cudaTask&
- adds precedence links from this to other tasks
-
template<typename... Ts>auto succeed(Ts && ... tasks) -> cudaTask&
- adds precedence links from other tasks to this
- auto num_successors() const -> size_t
- queries the number of successors
- auto num_predecessors() const -> size_t
- queries the number of dependents
- auto type() const -> auto
- queries the type of this task
-
void dump(std::
ostream& os) const - dumps the task through an output stream
Friends
-
auto operator<<(std::
ostream&, const cudaTask&) -> std:: ostream& - overload of ostream inserter operator for cudaTask
Function documentation
void tf:: cudaTask:: dump(std:: ostream& os) const
dumps the task through an output stream
Parameters | |
---|---|
os | an output stream target |