tf::cudaTask taskflow/cuda/cuda_task.hpp class friend class cudaFlow cudaFlow cudaFlow class friend class cudaFlowCapturer cudaFlowCapturer cudaFlowCapturer class friend class cudaFlowCapturerBase cudaFlowCapturerBase cudaFlowCapturerBase std::ostream & std::ostream& operator<< (std::ostream &, const cudaTask &) operator<< std::ostream & os const cudaTask & ct overload of ostream inserter operator for cudaTask cudaFlowNode * cudaFlowNode* tf::cudaTask::_node _node {nullptr} tf::cudaTask::cudaTask ()=default cudaTask constructs an empty cudaTask tf::cudaTask::cudaTask (const cudaTask &)=default cudaTask const cudaTask & copy-constructs a cudaTask cudaTask & cudaTask& tf::cudaTask::operator= (const cudaTask &)=default operator= const cudaTask & copy-assigns a cudaTask typename... Ts Ts cudaTask & cudaTask & tf::cudaTask::precede (Ts &&... tasks) precede Ts &&... tasks adds precedence links from this to other tasks Ts parameter pack tasks one or multiple tasks *this typename... Ts Ts cudaTask & cudaTask & tf::cudaTask::succeed (Ts &&... tasks) succeed Ts &&... tasks adds precedence links from other tasks to this Ts parameter pack tasks one or multiple tasks *this cudaTask & cudaTask & tf::cudaTask::name (const std::string &name) name const std::string & name assigns a name to the task name a std::string acceptable string *this const std::string & const std::string & tf::cudaTask::name () const name queries the name of the task size_t size_t tf::cudaTask::num_successors () const num_successors queries the number of successors size_t size_t tf::cudaTask::num_dependents () const num_dependents queries the number of dependents bool bool tf::cudaTask::empty () const empty queries if the task is associated with a cudaFlowNode cudaTaskType cudaTaskType tf::cudaTask::type () const type queries the task type typename T void void tf::cudaTask::dump (T &ostream) const dump T & ostream dumps the task through an output stream T output stream type with insertion operator (<<) defined ostream an output stream target typename V void void tf::cudaTask::for_each_successor (V &&visitor) const for_each_successor V && visitor applies an visitor callable to each successor of the task typename V void void tf::cudaTask::for_each_dependent (V &&visitor) const for_each_dependent V && visitor applies an visitor callable to each dependents of the task tf::cudaTask::cudaTask (cudaFlowNode *) cudaTask cudaFlowNode * node class to create a task handle over an internal node of a cudaFlow graph tf::cudaTask_node tf::cudaTaskcudaFlow tf::cudaTaskcudaFlowCapturer tf::cudaTaskcudaFlowCapturerBase tf::cudaTaskcudaTask tf::cudaTaskcudaTask tf::cudaTaskcudaTask tf::cudaTaskdump tf::cudaTaskempty tf::cudaTaskfor_each_dependent tf::cudaTaskfor_each_successor tf::cudaTaskname tf::cudaTaskname tf::cudaTasknum_dependents tf::cudaTasknum_successors tf::cudaTaskoperator<< tf::cudaTaskoperator= tf::cudaTaskprecede tf::cudaTasksucceed tf::cudaTasktype