#include <sycl/ext/oneapi/experimental/graph.hpp>
Public Member Functions | |
executable_command_graph ()=delete | |
An executable command-graph is not user constructable. More... | |
void | update (const command_graph< graph_state::modifiable > &Graph) |
Update the inputs & output of the graph. More... | |
void | update (const node &Node) |
Updates a single node in this graph based on the contents of the provided node. More... | |
void | update (const std::vector< node > &Nodes) |
Updates a number of nodes in this graph based on the contents of the provided nodes. More... | |
Protected Member Functions | |
executable_command_graph (const std::shared_ptr< detail::graph_impl > &Graph, const sycl::context &Ctx, const property_list &PropList={}) | |
Constructor used by internal runtime. More... | |
template<class Obj > | |
frienddecltype(Obj::impl) const & | sycl::detail::getSyclObjImpl (const Obj &SyclObject) |
void | finalizeImpl () |
Creates a backend representation of the graph in impl member variable. More... | |
Protected Attributes | |
std::shared_ptr< detail::exec_graph_impl > | impl |
|
delete |
An executable command-graph is not user constructable.
|
protected |
Constructor used by internal runtime.
Graph | Detail implementation class to construct with. |
Ctx | Context to use for graph. |
PropList | Optional list of properties to pass. |
Definition at line 1672 of file graph_impl.cpp.
References finalizeImpl().
|
protected |
Creates a backend representation of the graph in impl
member variable.
Definition at line 1679 of file graph_impl.cpp.
References impl.
Referenced by executable_command_graph().
|
protected |
void sycl::_V1::ext::oneapi::experimental::detail::executable_command_graph::update | ( | const command_graph< graph_state::modifiable > & | Graph | ) |
Update the inputs & output of the graph.
Graph | Graph to use the inputs and outputs of. |
Definition at line 1690 of file graph_impl.cpp.
References sycl::_V1::detail::getSyclObjImpl(), and impl.
void sycl::_V1::ext::oneapi::experimental::detail::executable_command_graph::update | ( | const node & | Node | ) |
Updates a single node in this graph based on the contents of the provided node.
Node | The node to use for updating the graph. |
Definition at line 1695 of file graph_impl.cpp.
References sycl::_V1::detail::getSyclObjImpl(), and impl.
void sycl::_V1::ext::oneapi::experimental::detail::executable_command_graph::update | ( | const std::vector< node > & | Nodes | ) |
Updates a number of nodes in this graph based on the contents of the provided nodes.
Nodes | The nodes to use for updating the graph. |
Definition at line 1699 of file graph_impl.cpp.
References sycl::_V1::detail::getSyclObjImpl(), and impl.
|
protected |
Definition at line 393 of file graph.hpp.
Referenced by finalizeImpl(), and update().