class
#include <src/taskflow/cuda/cuda_task.hpp>
cudaTask handle to a node of the internal CUDA graph
Contents
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 name(const std::string& name) -> cudaTask&
- assigns a name to the task
- auto name() const -> const std::string&
- queries the name of the task
- auto num_successors() const -> size_t
- queries the number of successors
- auto empty() const -> bool
- queries if the task is associated with a cudaNode
- auto type() const -> cudaTaskType
- queries the task type
-
template<typename T>void dump(T& ostream) 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
template<typename T>
void tf:: cudaTask:: dump(T& ostream) const
dumps the task through an output stream
Template parameters | |
---|---|
T | output stream type with insertion operator (<<) defined |
Parameters | |
ostream | an output stream target |