Skip to main content

Crate oxide_artifacts

Crate oxide_artifacts 

Source
Expand description

Embedded device artifact bundles.

The wire format is intentionally independent of a particular accelerator backend. A bundle names a producer, records the device target it was built for, and carries one or more generated device-code payloads.

Structs§

ArtifactBundle
ArtifactBundleSpec
ArtifactCompileOptions
Compilation policy that must remain attached to a device artifact until its final machine-code generation step.
ArtifactEntry
ArtifactEntrySpec
ArtifactPayload
ArtifactPayloadSpec
OwnedArtifactBundle
OwnedArtifactEntry
OwnedArtifactPayload

Enums§

ArtifactDebugPolicy
Debug information that later CUDA compilation/linking stages must retain.
ArtifactEntryKind
ArtifactError
ArtifactPayloadKind

Constants§

ARTIFACT_MAGIC
ARTIFACT_SECTION_NAME
ARTIFACT_VERSION
COMPILE_OPTIONS_TARGET_MARKER
Marker written on the second line of a versioned NVVM/LTOIR .target sidecar. Its presence makes older one-line readers reject the artifact instead of silently ignoring required compile policy. The marker versions the target/options handshake; the .options file carries its own v1/v2 format header.

Functions§

artifact_blob_total_len
build_artifact_blob
parse_artifact_blob
parse_artifact_section