Taskflow
2.4-master-branch
|
handle to a node in a cudaGraph More...
#include <cuda_task.hpp>
Public Member Functions | |
cudaTask ()=default | |
constructs an empty cudaTask | |
cudaTask (const cudaTask &)=default | |
copy-constructs a cudaTask | |
cudaTask & | operator= (const cudaTask &)=default |
copy-assigns a cudaTask | |
template<typename... Ts> | |
cudaTask & | precede (Ts &&... tasks) |
adds precedence links from this to other tasks More... | |
template<typename... Ts> | |
cudaTask & | succeed (Ts &&... tasks) |
adds precedence links from other tasks to this More... | |
cudaTask & | name (const std::string &name) |
assigns a name to the task More... | |
const std::string & | name () const |
queries the name of the task | |
size_t | num_successors () const |
queries the number of successors | |
bool | empty () const |
queries if the task is associated with a cudaNode | |
Friends | |
class | cudaFlow |
handle to a node in a cudaGraph
|
inline |
cudaTask & tf::cudaTask::precede | ( | Ts &&... | tasks | ) |
adds precedence links from this to other tasks
Ts... | parameter pack |
tasks | one or multiple tasks |
*this
cudaTask & tf::cudaTask::succeed | ( | Ts &&... | tasks | ) |
adds precedence links from other tasks to this
Ts... | parameter pack |
tasks | one or multiple tasks |
*this