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...
 
template<int Dimensions>
void update_nd_range (nd_range< Dimensions > executionRange)
 Update the ND-Range of this node if it is a kernel execution node. More...
 
template<int Dimensions>
void update_range (range< Dimensions > executionRange)
 Update the Range of this node if it is a kernel execution node. More...
 
template<>
void update_nd_range (nd_range< 1 > NDRange)
 
template<>
void update_nd_range (nd_range< 2 > NDRange)
 
template<>
void update_nd_range (nd_range< 3 > NDRange)
 
template<>
void update_range (range< 1 > Range)
 
template<>
void update_range (range< 2 > Range)
 
template<>
void update_range (range< 3 > Range)
 

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 105 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 1686 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 1678 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 1682 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 1676 of file graph_impl.cpp.

◆ update_nd_range() [1/4]

template<>
void sycl::_V1::ext::oneapi::experimental::node::update_nd_range ( nd_range< 1 >  NDRange)

Definition at line 1694 of file graph_impl.cpp.

◆ update_nd_range() [2/4]

template<>
void sycl::_V1::ext::oneapi::experimental::node::update_nd_range ( nd_range< 2 >  NDRange)

Definition at line 1697 of file graph_impl.cpp.

◆ update_nd_range() [3/4]

template<>
void sycl::_V1::ext::oneapi::experimental::node::update_nd_range ( nd_range< 3 >  NDRange)

Definition at line 1700 of file graph_impl.cpp.

◆ update_nd_range() [4/4]

template<int Dimensions>
void sycl::_V1::ext::oneapi::experimental::node::update_nd_range ( nd_range< Dimensions executionRange)

Update the ND-Range of this node if it is a kernel execution node.

◆ update_range() [1/4]

template<>
void sycl::_V1::ext::oneapi::experimental::node::update_range ( range< 1 >  Range)

Definition at line 1703 of file graph_impl.cpp.

◆ update_range() [2/4]

template<>
void sycl::_V1::ext::oneapi::experimental::node::update_range ( range< 2 >  Range)

Definition at line 1706 of file graph_impl.cpp.

◆ update_range() [3/4]

template<>
void sycl::_V1::ext::oneapi::experimental::node::update_range ( range< 3 >  Range)

Definition at line 1709 of file graph_impl.cpp.

◆ update_range() [4/4]

template<int Dimensions>
void sycl::_V1::ext::oneapi::experimental::node::update_range ( range< Dimensions executionRange)

Update the Range of this node if it is a kernel execution node.

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: