DPC++ Runtime
Runtime libraries for oneAPI DPC++
sycl::_V1::ext::oneapi::experimental::node Class Reference

Class representing a node in the graph, returned by command_graph::add(). More...

#include <sycl/ext/oneapi/experimental/graph.hpp>

Public Member Functions

 node ()=delete
 
node_type get_type () const
 Get the type of command associated with this node. More...
 
std::vector< nodeget_predecessors () const
 Get a list of all the node dependencies of this node. More...
 
std::vector< nodeget_successors () const
 Get a list of all nodes which depend on this node. More...
 

Static Public Member Functions

static node get_node_from_event (event nodeEvent)
 Get the node associated with a SYCL event returned from a queue recording submission. More...
 

Friends

template<class T >
sycl::detail::createSyclObjFromImpl (decltype(T::impl) ImplObj)
 

Detailed Description

Class representing a node in the graph, returned by command_graph::add().

Definition at line 99 of file graph.hpp.

Constructor & Destructor Documentation

◆ node()

sycl::_V1::ext::oneapi::experimental::node::node ( )
delete

Member Function Documentation

◆ get_node_from_event()

node sycl::_V1::ext::oneapi::experimental::node::get_node_from_event ( event  nodeEvent)
static

Get the node associated with a SYCL event returned from a queue recording submission.

Definition at line 1320 of file graph_impl.cpp.

References sycl::_V1::detail::getSyclObjImpl().

◆ get_predecessors()

std::vector< node > sycl::_V1::ext::oneapi::experimental::node::get_predecessors ( ) const

Get a list of all the node dependencies of this node.

Definition at line 1312 of file graph_impl.cpp.

◆ get_successors()

std::vector< node > sycl::_V1::ext::oneapi::experimental::node::get_successors ( ) const

Get a list of all nodes which depend on this node.

Definition at line 1316 of file graph_impl.cpp.

◆ get_type()

node_type sycl::_V1::ext::oneapi::experimental::node::get_type ( ) const

Get the type of command associated with this node.

Definition at line 1310 of file graph_impl.cpp.

Friends And Related Function Documentation

◆ sycl::detail::createSyclObjFromImpl

template<class T >
T sycl::detail::createSyclObjFromImpl ( decltype(T::impl)  ImplObj)
friend

The documentation for this class was generated from the following files: