cxx-frontend
    Preparing search index...

    Type Alias OutputCode<Format>

    OutputCode: Format extends "obj"
        ? Uint8Array
        : Format extends "wgsl"
            ? KernelOutput<string>
            : Format extends "spirv" ? KernelOutput<Uint8Array> : string

    The result of Parser.emitCode for a given output format.

    Textual formats produce a string, object code produces a Uint8Array, and the kernel formats produce one device module containing all checked entries with its manifest. Under a device profile, mlir is the GPU dialect module, asm its SPIR-V dialect and obj its SPIR-V binary.

    Type Parameters