Crate avx_parallel

Crate avx_parallel 

Source
Expand description

§avx-parallel

Data parallelism library for AVL Platform.

§Features

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

§Quick Start

use avx_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;
pub use work_stealing::WorkStealingPool;
pub use work_stealing::work_stealing_map;
pub use config::ThreadPoolConfig;
pub use config::set_global_config;
pub use config::get_global_config;
pub use lockfree::lockfree_count;
pub use lockfree::lockfree_any;
pub use lockfree::lockfree_all;
pub use lockfree::AtomicCounter;
pub use pipeline::MapReduce;
pub use pipeline::BatchProcessor;
pub use adaptive::AdaptiveExecutor;
pub use adaptive::speculative_execute;
pub use adaptive::hierarchical_map;
pub use adaptive::cache_aware_map;
pub use memory::parallel_transform_inplace;
pub use memory::parallel_fold_efficient;
pub use memory::parallel_iter_nocopy;

Modules§

adaptive
Adaptive parallel execution with dynamic optimization
advanced
Advanced parallel operations
config
Custom thread pool configuration
executor
Parallel execution engine
lockfree
Lock-free parallel operations using atomic operations
memory
Memory-efficient parallel operations with minimal allocations
parallel
Parallel iterator traits and implementations
parallel_vec
High-performance parallel iterators with true parallelism
pipeline
Parallel pipeline for chaining operations efficiently
prelude
Prelude module for convenient imports
scope
Scoped thread spawning - wrapper around std::thread::scope
simd
SIMD-accelerated operations
thread_pool
Thread pool implementation
work_stealing
Work Stealing Scheduler

Constants§

VERSION
Version information

Functions§

scope
Creates a scope for spawning scoped threads.