Skip to main content

record_kernel_variant_selection

Function record_kernel_variant_selection 

Source
pub fn record_kernel_variant_selection(selection: &KernelVariantSelection)
Expand description

Record a selected kernel variant on the active runtime trace span.

The annotation enriches the per-op span the executor opens for a traced run, so it carries the node identity already. Callers should normally use [record_kernel_variant!] so formatted reasons are built only when a span is active.