Skip to main content

Module dispatch_entry

Module dispatch_entry 

Source
Expand description

Engine dispatch types

OpDispatch is the install-time pre-stamped per-OpRef dispatch kind. Each GraphSlot.op_dispatch[i] carries one of these, resolved once by Engine::resolve_dispatch so runtime invoke is one indirect lookup with no HashMap probes on hot path.

Enums§

OpDispatch
Per-OpRef dispatch decision, pre-stamped at install time by Engine::resolve_dispatch. Runtime invoke is one indirect probe against GraphSlot.op_dispatch[idx]. Four variants:

Type Aliases§

FunctionKey
Canonical key for a FunctionProto in Node.model.functions[]. Matches ONNX’s (domain, name, overload) tuple - the linker dedupes on this key.
StatelessInvokeFn
Stateless syscall invoke fn pointer Same input/output shape as a role-trait dispatch_atomic call; returns DispatchResult for uniform handling by invoke_one.