candle_core::cpu::kernels

Function par_range

Source
pub fn par_range(
    lo: usize,
    up: usize,
    n_threads: usize,
    func: impl Fn(usize) + Send + Sync,
)