Skip to main content

Module memory

Module memory 

Source
Expand description

Level Zero memory manager — allocates, copies, and frees device memory buffers using the Level Zero API with host-staging for transfers.

Device memory is not directly CPU-accessible; all host↔device copies use a temporary host-side staging allocation and a command list.

All buffers are tracked by opaque u64 handles (starting at 1) that mirror the CUDA device-pointer model used by the rest of OxiCUDA.

Structs§

LevelZeroMemoryManager
Manages a pool of Level Zero device buffers, returning opaque u64 handles.