9 #include <cynq/enums.hpp>
10 #include <cynq/execution-graph.hpp>
11 #include <cynq/status.hpp>
33 explicit ExecutionStream(std::shared_ptr<ExecutionGraphParameters> params);
50 const std::vector<IExecutionGraph::NodeID> dependencies =
51 std::vector<IExecutionGraph::NodeID>(0))
override;
83 std::shared_ptr<ExecutionGraphParameters> params_;
ExecutionStream Implementation.
Definition: stream.hpp:26
NodeID Add(const IExecutionGraph::Function &function, const std::vector< IExecutionGraph::NodeID > dependencies=std::vector< IExecutionGraph::NodeID >(0)) override
Adds a function to the execution stream.
Definition: stream.cpp:61
Status Sync(const IExecutionGraph::NodeID node=-1) override
Synchronises the execution of the stream.
Definition: stream.cpp:86
virtual ~ExecutionStream()
destroys the stream
Definition: stream.cpp:196
ExecutionStream(std::shared_ptr< ExecutionGraphParameters > params)
Construct a new execution stream.
Definition: stream.cpp:45
Status GetLastError() override
Get the Last Error found during the execution.
Definition: stream.cpp:135
Execution Graph Interface.
Definition: execution-graph.hpp:52
std::function< Status()> Function
Underlying type for the auxiliar functions.
Definition: execution-graph.hpp:67
int NodeID
Underlying type for the NodeID.
Definition: execution-graph.hpp:57
Structure to define the return characteristics of each function.
Definition: status.hpp:19