Expand description
Cache-Aware Algorithms and Optimization
This module provides cache-aware implementations of fundamental algorithms optimized for modern CPU cache hierarchies. It includes adaptive algorithms that choose optimal strategies based on data size and cache characteristics.
Functionsยง
- adaptive_
memcpy - Adaptive memory copy with optimal strategy selection
- adaptive_
sort - Adaptive sorting algorithm that chooses the best strategy based on data characteristics
- cache_
aware_ reduce - Cache-aware vector reduction with optimal memory access patterns
- cache_
aware_ transpose - Cache-aware 2D array transpose
- matrix_
multiply_ cache_ aware - Cache-aware matrix multiplication with adaptive blocking