nkdsl.compilerΒΆ

Symbolic operator compiler package.

Functions

compile_symbolic_operator(operator, *[, ...])

Module-level convenience function for one-shot symbolic compilation.

default_symbolic_artifact_store()

Returns the module-level shared in-memory artifact store.

default_symbolic_lowerer_registry(*[, ...])

Builds the default symbolic lowerer registry.

default_symbolic_operator_lowering_registry()

Returns the module-level shared operator-lowering target registry.

default_symbolic_pass_pipeline()

Builds the default two-stage symbolic compiler pass pipeline.

reset_default_symbolic_compiler()

Resets the module-level shared compiler instance.

reset_default_symbolic_singletons()

Resets module-level default singleton instances.

Classes

SymbolicCacheKey(token, namespace)

Immutable cache key for compiled symbolic operator artifacts.

SymbolicCompilationContext(*, operator, ir, ...)

Holds per-compilation mutable state across pipeline stages.

SymbolicCompilationSignature(...[, ...])

Deterministic compilation signature for cache-key generation.

SymbolicCompiledArtifact(operator_name, ...)

Compilation artifact produced by the symbolic compiler pipeline.

SymbolicCompiler(*[, pipeline, ...])

Orchestrates the symbolic operator compilation pipeline.

SymbolicCompilerOptions([...])

Static and runtime controls for symbolic compiler execution.

SymbolicOperatorLoweringRegistry([targets, ...])

Registry for selectable compiled-operator targets.

SymbolicOperatorLoweringTarget(name, ...)

Describes one compiled-operator target selectable during lowering.

Exceptions

SymbolicCompilerError([message])

Raised when symbolic compilation fails at any pipeline stage.