Skip to main content

Module manifest

Module manifest 

Source
Expand description

Offload manifest: communicates required generic kernel instantiations between host-metadata and device compilation passes.

Uses TyEncoder/TyDecoder to serialize ty::Instance. DefIds are encoded as (crate name, DefPath) pairs for stability.

Structsยง

OffloadManifestDecoder ๐Ÿ”’
Decoder used to read the offload monomorphization manifest.
OffloadManifestEncoder ๐Ÿ”’

Constantsยง

UNRESOLVED_DEF_ID ๐Ÿ”’

Functionsยง

read_manifest ๐Ÿ”’
Read a list of offload kernel instances from the manifest file.
write_host_metadata_offload_manifest
Write out the offload host-metadata manifest for mono_items. No-op unless the session was invoked with -Zoffload=HostMetadata=<path>.
write_manifest ๐Ÿ”’
Write a list of offload kernel instances to the manifest file.