Expand description
Utility functions for cache optimization
Functionsยง
- align_
to_ cache_ line - Align size to cache line boundary
- optimal_
thread_ count - Calculate optimal number of threads based on data size and cache
- prefetch_
read - Prefetch data at the given address (hint to CPU)
- transpose_
blocked - Transpose matrix with cache blocking