Crate avila_parallel

Crate avila_parallel 

Source
Expand description

§avila-parallel

Data parallelism library for AVL Platform.

§Features

  • Thread pool with work stealing
  • Parallel iterators
  • Scoped threads
  • Zero overhead abstractions

§Quick Start

use avila_parallel::prelude::*;

let numbers: Vec<i32> = (0..1000).collect();
let sum: i32 = numbers.par_iter().sum();

Re-exports§

pub use thread_pool::ThreadPool;
pub use parallel::ParallelIterator;
pub use parallel::IntoParallelIterator;
pub use parallel_vec::ParallelVec;
pub use parallel_vec::IntoParallelVec;
pub use advanced::parallel_sort;
pub use advanced::parallel_sort_by;
pub use advanced::parallel_zip;
pub use advanced::parallel_chunks;
pub use advanced::parallel_partition_advanced;

Modules§

advanced
Advanced parallel operations
executor
Parallel execution engine
parallel
Parallel iterator traits and implementations
parallel_vec
High-performance parallel iterators with true parallelism
prelude
Prelude module for convenient imports
scope
Scoped thread spawning - wrapper around std::thread::scope
thread_pool
Thread pool implementation

Constants§

VERSION
Version information

Functions§

scope
Creates a scope for spawning scoped threads.