Skip to navigation

holoscan::condition

Beta
View as MarkdownOpen in Claude
HOLOSCAN_CORE_EXPORT ConditionBinding holoscan::condition(
std::string_view name,
ConditionOptions options = {}
)

Declare a named CUDA-kernel readiness check.

Returns: Cold binding. Composition does not launch the kernel or retain device allocations.

Throws: RuntimeError with kInvalidArgument for a null kernel.

Parameters

name
std::string_view

Operator-local identity; fresh runs resolve the kernel through the Operator factory.

binding
CUDAConditionBinding

Typed CUDA kernel binding from bind_condition().

options
ConditionOptionsDefaults to {}

Sampling policy. CUDA requires a zero invocation budget, the default overrun threshold and level-triggered firing. A poll period selects host-driven observation.