Skip to main content

Module memory_pool

Module memory_pool 

Source
Expand description

Memory pooling for efficient tensor allocation.

Reduces allocation overhead by reusing memory buffers across operations. Critical for low-latency, high-throughput inference.

Structs§

MemoryPool
Memory pool for efficient allocation and reuse of buffers.
PoolConfig
Configuration for memory pool.
PoolStats
Statistics about memory pool usage.
PooledBuffer
A memory buffer that can be reused.

Functions§

global_pool
Get the global memory pool instance.