pub fn wasm_tiles_in_flight(
cfg: &TileConfig,
cost: &TileCost,
threads: usize,
) -> usizeExpand description
Tiles a WASM host with threads workers keeps in flight: the threads, capped by
tiles_within_wasm_budget. This is what tile_concurrency (onnx feature) returns on WASM; it is callable
anywhere, so a host estimating a browser run’s memory can use the same count.