diffusion_rs_common::core::cpu::kernels

Function par_for_each

source
pub fn par_for_each(n_threads: usize, func: impl Fn(usize) + Send + Sync)