Module memory_efficient

Module memory_efficient 

Source
Expand description

Memory-efficient algorithms and patterns for sparse matrices

This module provides advanced memory optimization techniques for sparse matrix operations, including streaming algorithms, out-of-core processing, and cache-aware implementations.

Structs§

CacheAwareOps
Cache-aware sparse matrix operations
ChunkedOperations
Chunked sparse matrix operations for memory efficiency
MemoryPool
Memory pool for efficient allocation and reuse
MemoryTracker
Memory usage tracking and optimization
OutOfCoreProcessor
Out-of-core sparse matrix operations

Functions§

streaming_sparse_matvec
Memory-efficient sparse matrix-vector multiplication using streaming