Struct anira_plan_query#

struct anira_plan_query#

Collaboration diagram for anira_plan_query:

digraph {
    graph [bgcolor="#00000000"]
    node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2]
    edge [color="#1414CE"]
    "2" [label="anira_backend_id" tooltip="anira_backend_id"]
    "1" [label="anira_plan_query" tooltip="anira_plan_query" fillcolor="#BFBFBF"]
    "1" -> "2" [dir=forward tooltip="usage"]
}

What anira_plan_report_find looks for: every field names one property a plan must have, or matches every plan. variant is ANIRA_VARIANT_ANY or a variant index. backend names the engine (ANIRA_ENGINE_NONE: any engine; ANIRA_ENGINE_CUSTOM with engine_id: the custom engine of that id) and the provider (ANIRA_PROVIDER_NONE: any provider; ANIRA_PROVIDER_CUSTOM with provider_id: the custom provider of that name), each axis under the pair rule of anira_engine and anira_provider. Tier 2, struct_size first, as is backend’s own: a caller whose header ends before a field, or whose backend record ends before engine_id or provider_id, gets that field read as ANIRA_PLAN_QUERY_INIT holds it (any). An input; anira never writes it.

Public Members

uint32_t struct_size#

sizeof(anira_plan_query) of the caller’s header.

uint32_t variant#

The variant index of the inference stage, or ANIRA_VARIANT_ANY.

anira_backend_id backend#

The engine and the provider; ANIRA_ENGINE_NONE and ANIRA_PROVIDER_NONE match every engine and every provider.