Compiler.h File
Hybrid graph compiler: partitions pipeline segments and propagates OutputSpec. More...
Included Headers
#include "builder/NodeGroup.h"
#include "builder/OutputSpec.h"
#include "graph/Graph.h"
#include "graph/nodes/StageNode.h"
#include <cstddef>
#include <memory>
#include <string>
#include <unordered_map>
#include <vector>
Namespaces Index
| namespace | simaai |
| namespace | neat |
| namespace | graph |
Classes Index
| struct | EdgeSpec |
|
Per-edge spec captured by the compiler — the propagated OutputSpec and a completeness flag. More... | |
| struct | CompiledPipelineSegment |
|
Compiled view of a contiguous pipeline-backend segment in the runtime graph. More... | |
| struct | CompiledStageNode |
|
Compiled record for a single stage-backend node in the runtime graph. More... | |
| struct | CompiledGraph |
|
Result produced by Compiler::compile: pipelines, stages, edges, specs, and port names. More... | |
| class | Compiler |
|
Runtime-graph compiler that partitions a Graph into pipeline segments and stages. More... | |
Description
Hybrid graph compiler: partitions pipeline segments and propagates OutputSpec.
File Listing
The file content with the documentation metadata removed is:
10#include "graph/Graph.h"
11#include "graph/nodes/StageNode.h"
19namespace simaai::neat::graph {
40struct CompiledPipelineSegment {
41 int id = -1;
48 bool source_like = false;
49 OutputSpec input_spec;
50 bool input_complete = false;
51 OutputSpec output_spec;
52 bool output_complete = false;
60struct CompiledStageNode {
74struct CompiledGraph {
78 std::vector<EdgeSpec> edge_specs;
79 std::vector<std::string> port_names;
95 CompiledGraph compile(const Graph& g) const;
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.