Crate daedalus_planner

Crate daedalus_planner 

Source
Expand description

Planner passes and execution plan model scaffolding. See PLAN.md for staged tasks. Exposes a deterministic pass pipeline from registry-sourced graphs to an ExecutionPlan.

Pass order (stubs today, contract documented): hydrate_registry -> typecheck -> convert -> align -> gpu -> schedule -> lint.

Modules§

debug
Debug helpers for serializing/deserializing plans, useful for goldens/CLI.
helpers

Structs§

Diagnostic
Planner diagnostic entry.
DiagnosticSpan
Where a diagnostic applies.
Edge
Edge from one node/port to another.
EdgeBufferInfo
Edge buffer hints used by the GPU pass.
ExecutionPlan
Final execution plan with diagnostics and stable hash for goldens.
GpuSegment
Contiguous GPU segment metadata.
Graph
Planner input graph (pre-pass).
NodeInstance
An instantiated node, identified by registry id.
NodeRef
Node reference within a graph (index-based for compactness).
PlannerConfig
Static planner config controlling optional passes.
PlannerInput
Input to the planner: a graph plus registry reference.
PlannerOutput
Planner output: final plan and any diagnostics.
PortRef
Port reference by name within a node.
StableHash
Stable hash helper used for goldens; simple FNV-1a for determinism.

Enums§

ComputeAffinity
Compute affinity hint for scheduling/GPU pass. Compute affinity hint for scheduling/GPU pass.
DiagnosticCode
Planner diagnostic codes (non-exhaustive).

Constants§

DEFAULT_PLAN_VERSION
Default execution-plan version for deterministic serde/goldens.

Functions§

build_plan
Build an execution plan by running the ordered pass pipeline. Currently stubs; contracts are enforced via deterministic diagnostics ordering. Build an execution plan from a graph and registry.