orx-parallel 3.4.0

High performance, configurable and expressive parallel computation library.
Documentation
use super::run_map;
use crate::{IterationOrder, RunnerWithPool, runner::implementations::sequential::SequentialPool};
use test_case::test_matrix;

#[cfg(miri)]
const N: [usize; 2] = [37, 125];
#[cfg(not(miri))]
const N: [usize; 2] = [1025, 4735];

#[test_matrix(
    [0, 1, N[0], N[1]],
    [1, 4],
    [1, 64],
    [IterationOrder::Ordered, IterationOrder::Arbitrary])
]
fn pool_scoped_threadpool_map(n: usize, _: usize, chunk: usize, ordering: IterationOrder) {
    let orch = RunnerWithPool::from(SequentialPool);
    run_map(n, chunk, ordering, orch);
}