docs/classtf_1_1cudaTask.html
class to create a task handle of a CUDA Graph node
cudaTask() defaultedconstructs an empty cudaTaskcudaTask(const cudaTask&) defaultedcopy-constructs a cudaTask
auto operator=(const cudaTask&) -> cudaTask& defaultedcopy-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 thisauto num_successors() const -> size_tqueries the number of successorsauto num_predecessors() const -> size_tqueries the number of dependentsauto type() const -> autoqueries the type of this taskvoid dump(std::ostream& os) constdumps the task through an output stream
auto operator<<(std::ostream&, const cudaTask&) -> std::ostream&overload of ostream inserter operator for cudaTask
adds precedence links from this to other tasks
| Template parameters |
|---|
| Ts |
| Parameters |
| --- |
| tasks |
| Returns |
adds precedence links from other tasks to this
| Template parameters |
|---|
| Ts |
| Parameters |
| --- |
| tasks |
| Returns |
dumps the task through an output stream
| Parameters |
|---|
| os |