handle to a node of the internal CUDA graph
More...
#include <sycl_task.hpp>
|
|
| syclTask ()=default |
| | constructs an empty syclTask
|
| |
|
| syclTask (const syclTask &)=default |
| | copy-constructs a syclTask
|
| |
|
syclTask & | operator= (const syclTask &)=default |
| | copy-assigns a syclTask
|
| |
| template<typename... Ts> |
| syclTask & | precede (Ts &&... tasks) |
| | adds precedence links from this to other tasks
|
| |
| template<typename... Ts> |
| syclTask & | succeed (Ts &&... tasks) |
| | adds precedence links from other tasks to this
|
| |
| syclTask & | name (const std::string &name) |
| | assigns a name to the task
|
| |
|
const std::string & | name () const |
| | queries the name of the task
|
| |
|
size_t | num_successors () const |
| | queries the number of successors
|
| |
|
size_t | num_dependents () const |
| | queries the number of dependents
|
| |
|
bool | empty () const |
| | queries if the task is associated with a syclNode
|
| |
| template<typename T > |
| void | dump (T &ostream) const |
| | dumps the task through an output stream
|
| |
|
template<typename V > |
| void | for_each_successor (V &&visitor) const |
| | applies an visitor callable to each successor of the task
|
| |
|
template<typename V > |
| void | for_each_dependent (V &&visitor) const |
| | applies an visitor callable to each dependents of the task
|
| |
handle to a node of the internal CUDA graph
◆ dump()
template<typename T >
| void tf::syclTask::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 |
◆ name()
assigns a name to the task
- Parameters
-
- Returns
*this
◆ precede()
template<typename... Ts>
| syclTask & tf::syclTask::precede |
( |
Ts &&... |
tasks | ) |
|
adds precedence links from this to other tasks
- Template Parameters
-
- Parameters
-
| tasks | one or multiple tasks |
- Returns
*this
◆ succeed()
template<typename... Ts>
| syclTask & tf::syclTask::succeed |
( |
Ts &&... |
tasks | ) |
|
adds precedence links from other tasks to this
- Template Parameters
-
- Parameters
-
| tasks | one or multiple tasks |
- Returns
*this
The documentation for this class was generated from the following file: