Expand description
Aligned memory allocation for SIMD buffer pools.
Wraps std::alloc::{alloc, dealloc, realloc} with Layout-based
alignment, suitable for AVX2 (32-byte), AVX-512 (64-byte), and NEON
(16-byte) SIMD operations.
All allocations route through the process-wide #[global_allocator],
so when the mimalloc feature is enabled this transparently uses mimalloc.
Structs§
- Aligned
Allocator - Aligned memory allocator for SIMD operations.
Functions§
- aligned_
allocator - Returns the process-wide aligned allocator handle.