tf::cudaTask
taskflow/cuda/cuda_task.hpp
class friend class cudaFlow cudaFlow tf::cudaTask::cudaFlow cudaFlow
class friend class cudaFlowCapturer cudaFlowCapturer tf::cudaTask::cudaFlowCapturer cudaFlowCapturer
class friend class cudaFlowCapturerBase cudaFlowCapturerBase tf::cudaTask::cudaFlowCapturerBase cudaFlowCapturerBase
std::ostream & std::ostream & operator<< (std::ostream &os, const cudaTask &ct) operator<< tf::cudaTask::operator<< std::ostream & os const cudaTask & ct

overload of ostream inserter operator for cudaTask

cudaFlowNode * cudaFlowNode* tf::cudaTask::_node _node tf::cudaTask::_node {nullptr}
tf::cudaTask::cudaTask
()=default
cudaTask
tf::cudaTask::cudaTask

constructs an empty cudaTask

tf::cudaTask::cudaTask
(const cudaTask &)=default
cudaTask
tf::cudaTask::cudaTask
const cudaTask &

copy-constructs a cudaTask

cudaTask & cudaTask & tf::cudaTask::operator= (const cudaTask &)=default operator= tf::cudaTask::operator= const cudaTask &

copy-assigns a cudaTask

typename... Ts Ts
cudaTask & cudaTask & tf::cudaTask::precede (Ts &&... tasks) precede tf::cudaTask::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 tf::cudaTask::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 tf::cudaTask::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 tf::cudaTask::name

queries the name of the task

size_t size_t tf::cudaTask::num_successors () const num_successors tf::cudaTask::num_successors

queries the number of successors

size_t size_t tf::cudaTask::num_dependents () const num_dependents tf::cudaTask::num_dependents

queries the number of dependents

bool bool tf::cudaTask::empty () const empty tf::cudaTask::empty

queries if the task is associated with a cudaFlowNode

cudaTaskType cudaTaskType tf::cudaTask::type () const type tf::cudaTask::type

queries the task type

typename T
void void tf::cudaTask::dump (T &ostream) const dump tf::cudaTask::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 tf::cudaTask::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 tf::cudaTask::for_each_dependent V && visitor

applies an visitor callable to each dependents of the task

tf::cudaTask::cudaTask
(cudaFlowNode *)
cudaTask
tf::cudaTask::cudaTask
cudaFlowNode * node

class to create a task handle over an internal node of a cudaFlow graph

- tf::cudaTask
  _node
- tf::cudaTask
  cudaFlow
- tf::cudaTask
  cudaFlowCapturer
- tf::cudaTask
  cudaFlowCapturerBase
- tf::cudaTask
  cudaTask
- tf::cudaTask
  cudaTask
- tf::cudaTask
  cudaTask
- tf::cudaTask
  dump
- tf::cudaTask
  empty
- tf::cudaTask
  for_each_dependent
- tf::cudaTask
  for_each_successor
- tf::cudaTask
  name
- tf::cudaTask
  name
- tf::cudaTask
  num_dependents
- tf::cudaTask
  num_successors
- tf::cudaTask
  operator<<
- tf::cudaTask
  operator=
- tf::cudaTask
  precede
- tf::cudaTask
  succeed
- tf::cudaTask
  type