holoscan::ops::inference_eligibility::has_off_gpu_dt_assignment

Beta
View as Markdown
bool holoscan::ops::inference_eligibility::has_off_gpu_dt_assignment(
const std::map<std::string, std::string> &dev_map
)

Returns true when dev_map routes any model to a device other than the default data-transfer GPU (“0”).

The reserved key “gpu-dt” identifies the data-transfer device itself and is not treated as an off-device assignment.

A single-entry device_map like {model: "1"} is still cross-GPU relative to gpu-dt=0 and must disqualify the fast path — checking size() > 1 alone is insufficient.