Skip to main content

Crate vyre_megakernel

Crate vyre_megakernel 

Source
Expand description

Backend-neutral compilation from validated typed graphs to immutable artifacts.

§Ownership

This crate owns the whole-program compile seam:

Device admission, materialization, submission, queues, residency, and recovery are consumers of this compiler product and do not alter artifact identity.

Re-exports§

pub use target::attach_target;
pub use target::compile_selected_modules;
pub use target::EmittedTargetModule;
pub use target::SelectedLowering;
pub use target::TargetCompileError;
pub use target::TargetCompiler;
pub use target::TargetModuleBundle;
pub use target::TargetModuleImage;
pub use target::TARGET_MODULE_BUNDLE_SCHEMA_VERSION;

Modules§

cost
Open, reproducible whole-program candidate cost model.
legality
Stable semantic legality decisions for whole-program fusion.
target
Target compiler facets over compiler-selected modules and canonical ABI.

Structs§

Artifact
Versioned immutable canonical whole-program compiler result.
ArtifactAbi
Canonical resource and entry ABI projected to every target payload.
ArtifactEnvelope
Canonical versioned envelope containing one neutral artifact and target attachments.
ArtifactNodeId
Canonical node identity inside an artifact.
ArtifactValueId
Canonical value identity inside an artifact.
BarrierRecord
Dependency-completion boundary between canonical stages.
CompileError
Compilation or artifact-validation failure.
CompileRequest
Unvalidated whole-program compilation request.
DependencyEdge
One canonical typed dependency edge.
Diagnostic
Serializable diagnostic shared by compiler, AOT, runtime, and drivers.
Digest
Stable 256-bit content identity.
EntryAbiRecord
One canonical executable entry in the whole-program ABI.
ExternalFacts
Stable external semantic facts not encoded by graph topology.
FusionGroupId
Canonical fusion-group identity inside an artifact.
FusionRecord
Canonical compiler-selected fusion group.
FusionRejection
Stable evidence that one proposed fusion was pruned before selection.
GeometryRecord
Neutral per-node logical geometry.
MaterializationRecord
Canonical value materialization fact.
NodeRecord
Canonical executable-node payload.
Provenance
Deterministic identities establishing how an artifact was produced.
ResourceAbiRecord
One canonical resource slot in the whole-program ABI.
ResourceEnvelope
Aggregate checked resource envelope.
ResourceRecord
Canonical resource and liveness fact for one typed graph value.
SearchBudget
Explicit bounds for one whole-program schedule search.
SearchWork
Exact bounded work performed while selecting a whole-program plan.
SelectedPlan
Immutable compiler-selected whole-program plan.
TargetEntryPoint
Metadata for one entry in an attached target payload.
TargetPayload
Digest-bound target bytes attached to one exact neutral artifact.
TargetPayloadFormat
Versioned identity of target bytes without assigning concrete target semantics.
TargetProfile
Immutable capability profile used for pure target compilation.
TargetResourceBinding
Target binding metadata associated with one canonical neutral resource.
ValidatedCompileRequest
A graph and complete immutable facts that passed request validation.

Enums§

AbiAccess
Canonical neutral resource access.
DependencyEndpoint
Dependency endpoint with an explicit identity domain.
DependencyKind
Semantic reason that one artifact record depends on another.
MaterializationReason
Reason a typed value crosses a fusion-group boundary.
ResourceLifetime
Graph value lifetime represented in the artifact schema.
TargetResourceAccess
Access required by one target resource binding.
TargetResourceMemory
Neutral memory class required by one target resource binding.

Constants§

ARTIFACT_ENVELOPE_SCHEMA_VERSION
Current schema for the artifact envelope that carries neutral data and target payloads.
ARTIFACT_SCHEMA_VERSION
Current canonical artifact schema.
TARGET_PAYLOAD_SCHEMA_VERSION
Current schema for one target payload attachment.

Functions§

compile
Compile one validated typed graph into a canonical backend-neutral artifact.