Skip to main content

estimate

Function estimate 

Source
pub fn estimate(
    spec: &KernelSpec,
    config: &Config,
    dev: &DeviceParams,
) -> Result<Estimate, ModelError>
Expand description

Estimate one candidate. Model: blocks-per-SM limited by threads, smem and the block cap; cost = waves / occupancy — a candidate that needs more waves of less-occupied SMs is predicted slower.