Skip to main content

Module allocator

Module allocator 

Source
Expand description

Primitive memory types and the ordinary allocator contract.

DeviceAllocator deliberately covers only device identity plus ordinary allocation and terminal release. Lazy virtual backing and shared physical mappings are independent optional capabilities in crate::capability.

Structs§

AllocationCommitRange
DeviceKey
Which physical device memory comes from.
HostAllocator
Host memory from the global allocator.
MappedAllocation
SharedPrefixCommitInfo
The accounting outcome of mapping a SharedDevicePrefix into one allocation.

Traits§

DeviceAllocator
Somewhere ordinary memory comes from.
SharedDevicePrefix
A pinned, read-only shared prefix whose physical bytes are owned once and may be mapped into multiple allocations.