Skip to main content

Module parallel

Module parallel 

Source

Constants§

PARALLEL_REDUCTION_THRESHOLD
Threshold above which reductions use parallel tree-reduce.
PARALLEL_SORT_THRESHOLD
Threshold above which sorting uses parallel merge sort.

Functions§

pairwise_sum
Pairwise summation of a slice.
pairwise_sum_f64
SIMD-accelerated pairwise summation for f64 slices.
parallel_prod
Perform a parallel product on a slice of Copy + Send + Sync values.
parallel_sort
Parallel sort (unstable) for large slices. Returns a sorted copy.
parallel_sort_stable
Parallel stable sort for large slices.
parallel_sum
Perform a parallel pairwise sum on a slice.
simd_sum_sq_diff_f64
SIMD-accelerated computation of sum((x - mean)²) for f64 slices.