Expand description
Memory management utilities for high-performance ML workloads
This module provides memory management utilities including custom allocators, memory pools, leak detection, memory-mapped file utilities, bounds checking, and safe memory management helpers.
Structsยง
- Allocation
Info - Allocation
Stats - Allocation statistics
- GcHelper
- Garbage collection helper for reference counting
- Leak
Detector - Memory leak detector
- Memory
Alignment - Memory alignment utilities
- Memory
Mapped File - Memory-mapped file utilities
- Memory
Monitor - Memory usage monitor
- Memory
Pool - Memory pool for efficient allocation of fixed-size objects
- Memory
Validator - Memory validation utilities
- Safe
Buffer - Safe buffer with automatic bounds checking and buffer overflow protection
- SafePtr
- Memory-safe smart pointer with reference counting and automatic cleanup
- SafeVec
- Safe wrapper around vectors with bounds checking
- Stack
Guard - Stack-based memory guard for automatic cleanup
- Tracking
Allocator - Custom allocator that tracks memory usage