ba_gates_pick

Function ba_gates_pick 

Source
pub fn ba_gates_pick(
    requested: bool,
    parent: KernelHandle,
    twin: KernelHandle,
    m: u32,
    n: u32,
    k: u32,
    k_stride: u32,
    sm_count: u32,
) -> BaGatesPick
Expand description

Choose between the gb10 parent and the Hopper twin, once, here.

One entry point rather than an if at each of the five dispatch sites: the decision is a lever, a resolved handle and four shape facts, and a call site that spelled it itself would be a second copy of a rule that has already been wrong once elsewhere in this file’s family.