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

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

Inheritance diagram for sycl::_V1::ext::oneapi::experimental::detail::executable_command_graph:
Collaboration diagram for sycl::_V1::ext::oneapi::experimental::detail::executable_command_graph:

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 >
decltype(Obj::impl) friend 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_implimpl
 

Detailed Description

Definition at line 345 of file graph.hpp.

Constructor & Destructor Documentation

◆ executable_command_graph() [1/2]

sycl::_V1::ext::oneapi::experimental::detail::executable_command_graph::executable_command_graph ( )
delete

An executable command-graph is not user constructable.

◆ executable_command_graph() [2/2]

sycl::_V1::ext::oneapi::experimental::detail::executable_command_graph::executable_command_graph ( const std::shared_ptr< detail::graph_impl > &  Graph,
const sycl::context Ctx,
const property_list PropList = {} 
)
protected

Constructor used by internal runtime.

Parameters
GraphDetail implementation class to construct with.
CtxContext to use for graph.
PropListOptional list of properties to pass.

Definition at line 1622 of file graph_impl.cpp.

References finalizeImpl().

Member Function Documentation

◆ finalizeImpl()

void sycl::_V1::ext::oneapi::experimental::detail::executable_command_graph::finalizeImpl ( )
protected

Creates a backend representation of the graph in impl member variable.

Definition at line 1629 of file graph_impl.cpp.

References impl.

Referenced by executable_command_graph().

◆ sycl::detail::getSyclObjImpl()

template<class Obj >
decltype(Obj::impl) friend sycl::_V1::ext::oneapi::experimental::detail::executable_command_graph::sycl::detail::getSyclObjImpl ( const Obj &  SyclObject)
protected

◆ update() [1/3]

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.

Parameters
GraphGraph to use the inputs and outputs of.

Definition at line 1640 of file graph_impl.cpp.

References sycl::_V1::detail::getSyclObjImpl(), and impl.

◆ update() [2/3]

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.

Parameters
NodeThe node to use for updating the graph.

Definition at line 1645 of file graph_impl.cpp.

References sycl::_V1::detail::getSyclObjImpl(), and impl.

◆ update() [3/3]

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.

Parameters
NodesThe nodes to use for updating the graph.

Definition at line 1649 of file graph_impl.cpp.

References sycl::_V1::detail::getSyclObjImpl(), and impl.

Member Data Documentation

◆ impl

std::shared_ptr<detail::exec_graph_impl> sycl::_V1::ext::oneapi::experimental::detail::executable_command_graph::impl
protected

Definition at line 380 of file graph.hpp.

Referenced by finalizeImpl(), and update().


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