Enum anira_warmup_outcome#

enum anira_warmup_outcome#

How a plan’s warm-up pass ended at the prepare (anira_plan_info.warmup_outcome).

Values:

enumerator ANIRA_WARMUP_OUTCOME_NONE#

No pass: ANIRA_WARMUP_NONE or FIXED 0 under an explicit budget. warmup_iterations, measured_ms and median_ms are 0.

enumerator ANIRA_WARMUP_OUTCOME_FIXED#

ANIRA_WARMUP_FIXED ran its n inferences.

enumerator ANIRA_WARMUP_OUTCOME_STABLE#

ANIRA_WARMUP_UNTIL_STABLE stopped when the last four times agreed.

enumerator ANIRA_WARMUP_OUTCOME_CAPPED#

ANIRA_WARMUP_UNTIL_STABLE stopped at its 32nd inference without that; the figure is the last four’s maximum all the same, and the prepare logs a Warning.

enumerator ANIRA_WARMUP_OUTCOME_REUSED#

No pass at this prepare: the plan took the model’s figure from an earlier prepare; warmup_iterations, measured_ms and median_ms are that measurement’s.

enumerator ANIRA_WARMUP_OUTCOME_FORCE32#