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ยง
- Offload
Manifest ๐Decoder - Decoder used to read the offload monomorphization manifest.
- Offload
Manifest ๐Encoder
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.