holoscan::ops::inference_eligibility::select_dispatch_kind
holoscan::ops::inference_eligibility::select_dispatch_kind
Pure, unit-testable dispatch-kind selector.
Static blockers (any one forces kStandard):
!input_on_cuda: the fast paths (do_inference_on_stream) do not stage host<->device input buffers.- chained models: any tensor produced by one model (output_map value) consumed as another model’s input (input_map value) — see has_chained_models().
Returns: The selected DispatchKind and, for single-model fast paths, the cached model name.
Parameters
model_path_map
Model name -> model path.
input_map
Model name -> input tensor names.
output_map
Model name -> output tensor names.
backend
Scalar backend string (used when backend_map is empty).
backend_map
Optional per-model backend override map.
input_on_cuda
Whether input tensors are device-resident.
dynamic_input_dims
Whether input dimensions may change between compute() calls.
parallel_inference
Whether multi-model configurations should run in parallel.