GetKernelRegistry property

Pointer<NativeFunction<OrtStatusPtr Function(Pointer<OrtEp> this_ptr, Pointer<Pointer<OrtKernelRegistry>> kernel_registry)>> GetKernelRegistry
getter/setter pair

\brief Gets the execution provider's kernel registry, if any.

A kernel registry contains kernel creation information for operator kernels supported by an EP.

\paramin this_ptr The OrtEp instance. \paramout kernel_registry Output parameter set to the EP's kernel registry, which must remain valid throughout the lifetime of the EP. Can be NULL if the EP doesn't use a kernel registry. \snippet{doc} snippets.dox OrtStatus Return Value

\note Implementation of this function is optional. If set to NULL, ORT assumes the EP compiles nodes.

\since Version 1.24.

Implementation

external ffi.Pointer<
  ffi.NativeFunction<
    OrtStatusPtr Function(
      ffi.Pointer<OrtEp> this_ptr,
      ffi.Pointer<ffi.Pointer<OrtKernelRegistry>> kernel_registry,
    )
  >
>
GetKernelRegistry;