Skip to navigation

holoscan::ops::inference_eligibility::DispatchKind

Beta
View as Markdown

Seven-state dispatch enum.

enum class holoscan::ops::inference_eligibility::DispatchKind

Selected automatically at InferenceOp::start() from the operator’s existing configuration (backend, model count, parallel_inference, dynamic_input_dims). Fast paths are enabled ONLY when every model uses the “trt” backend and no static blocker (see select_dispatch_kind()) is present. STATIC-shape fast paths:

  • kFast : single-model, static shape
  • kSeqFast : multi-model, static shape, sequential
  • kParFast : multi-model, static shape, parallel DYNAMIC-shape fast paths (chosen when dynamic_input_dims is true):
  • kDynFast : single-model, dynamic shape
  • kDynSeqFast : multi-model, dynamic shape, sequential
  • kDynParFast : multi-model, dynamic shape, parallel Fallback:
  • kStandard : canonical execute_inference (handles non-TRT backends and any static blocker)

Values

Name
kFast
kSeqFast
kParFast
kDynFast
kDynSeqFast
kDynParFast
kStandard