19 #include <myramath/jobgraph/detail/execute_serial.h> 22 #include <tests/myratest.h> 28 ADD_TEST(
"FusedJobGraph",
"[jobgraph]")
35 REQUIRE( verify(graph) );
37 execute_serial(graph);
Contains multiple JobGraph's, fuses them together according to user-defined dependency relationships...
Given a JobGraph G, verifies it has valid topology.
Execute's a JobGraph.
void add_edge(int g0, JobID j0, int g1, JobID j1)
Adds a dependency, that g0.job(j0) must execute before g1.job(j1).
Definition: FusedJobGraph.cpp:102
int insert(const JobGraph &g)
Adds a JobGraph to *this, returns a GraphID to refer to it in the future.
Definition: FusedJobGraph.cpp:90
Key type used to identify the Job's of a JobGraph.
Definition: JobID.h:60
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.
Contains multiple JobGraph's, fuses them together.
Definition: FusedJobGraph.h:31