15 #include <myramath/jobgraph/detail/execute_serial.h> 19 #include <tests/myratest.h> 27 ADD_TEST(
"SequentialJobGraph",
"[jobgraph]")
29 std::vector<double> a(4,1.0);
30 std::vector<double> b(4,2.0);
31 std::vector<double> c(4,0.0);
32 std::vector<double> d(4,0.0);
41 graphviz(graph,
"graph.dot");
int push_back(const JobGraph &g)
Appends a JobGraph to *this, to be execute()'d after all the previous Job's.
Definition: SequentialJobGraph.cpp:124
Given a JobGraph G, verifies it has valid topology.
Contains multiple JobGraph's, executes()'s them in sequence.
Definition: SequentialJobGraph.h:30
Contains multiple JobGraph's, execute()'s them in sequence. Used to avoid data hazards.
Execute's a JobGraph.
Contains multiple independent JobGraph's, enabling them to execute() in parallel. ...
JobGraph make_LambdaJobGraph(const Lambda &lambda)
Given a Lambda, returns a JobGraph that calls lambda() when execute()'d.
Definition: LambdaJobGraph.h:129
Given a JobGraph, produces a .dot file for visualization with graphviz.
Encapsulates a Lambda function into a JobGraph of a single Job.