Skip to main content

soft_light_parallel

Function soft_light_parallel 

Source
pub fn soft_light_parallel(
    a: ArrayView2<'_, f32>,
    b: ArrayView2<'_, f32>,
    out: &mut Array2<f32>,
)
Expand description

Soft light blend of two 2-D arrays, parallelised with rayon.

Same arguments, output and panics as soft_light_core, but always runs in parallel regardless of size. Public for benchmarking only (see module docs).