Skip to main content

run_par

Macro run_par 

Source
macro_rules! run_par {
    (
        $func:expr
    ) => { ... };
}
👎Deprecated since 0.22.0:

burn-ndarray is deprecated and will be removed in a future release. Use burn-flex for pure-Rust CPU execution (std, no_std, WebAssembly), or one of the CubeCL backends (burn-cuda, burn-rocm, burn-wgpu, burn-cpu) for GPU acceleration.

Available on crate feature multi-threads only.
Expand description

Macro for running a function in parallel.