Module aligned_alloc

Module aligned_alloc 

Source
Expand description

Aligned memory allocation for SIMD-optimized operations

This module provides memory alignment utilities specifically designed for AVX2/SSE SIMD operations in geometric algebra computations.

Structs§

AlignedCoefficients
RAII wrapper for aligned coefficient arrays
AlignedMemory
Aligned memory block for SIMD operations
MemoryPool
Cache-friendly memory pool for frequent allocations

Constants§

AVX2_ALIGNMENT
32-byte aligned allocation for AVX2 operations
CACHE_LINE_SIZE
Cache line size for modern CPUs
SSE_ALIGNMENT
16-byte aligned allocation for SSE operations

Functions§

create_aligned_f64_vec
Create an AVX2-aligned vector for f64 coefficients