Skip to main content

Module memory_pool

Module memory_pool 

Source
Expand description

GPU memory pool allocator.

Provides block-based GPU memory allocation with alignment support and pool statistics tracking. Designed to reduce the overhead of frequent small allocations by sub-allocating from larger backing blocks.

Structs§

AllocationHandle
A single allocation handle returned to the caller.
CompactionPlan
Plan returned by compact().
DefragResult
Result of a defragmentation operation.
GpuMemoryPool
GPU memory pool allocator.
MigrationEntry
A planned migration for compaction.
PoolStats
Statistics for the memory pool.

Enums§

Alignment
Alignment requirements for GPU memory blocks.