Module memory
Expand description
GPU and host memory management abstractions.
This module provides RAII wrappers for GPU memory, pinned host memory, and memory pools for efficient allocation.
Modules§
- align
- Alignment utilities.
Structs§
- Memory
Pool - Memory pool for efficient allocation/deallocation.
- Pinned
Memory - Pinned (page-locked) host memory for efficient DMA transfers.
- Pooled
Buffer - A buffer from a memory pool.
Traits§
- Device
Memory - Trait for device memory allocation.
- GpuBuffer
- Trait for GPU buffer operations.
Functions§
- create_
pool - Create a shared memory pool.
Type Aliases§
- Shared
Memory Pool - Shared memory pool that can be cloned.