diffusion_rs_common::core::cpu::kernels

Function par_range

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