Skip to main content

fused_kernel_available_in

Function fused_kernel_available_in 

Source
pub fn fused_kernel_available_in(
    table: &KernelBindingTable,
    id: FusedOpId,
    backend: BackendId,
) -> bool
Expand description

Table-passing variant of fused_kernel_available — reads the CALLER’S binding table (the one optimize_graph already holds, threaded via OptimizationContext::bindings) instead of re-acquiring global_bindings(). This is the non-nesting gate: a background adopt’s global_bindings() WRITE can never queue between two reads this function takes, because it takes none — table is a plain reference the caller already resolved.