Enum MemoryResidence
- Namespace
- DotCompute.Backends.CUDA.Types
- Assembly
- DotCompute.Abstractions.dll
Defines where unified memory is currently resident.
public enum MemoryResidence
Fields
Device = 2Memory is resident on the device (GPU).
Host = 1Memory is resident on the host (CPU).
Migrating = 4Memory is being migrated between host and device.
Split = 3Memory is split between host and device.
Unknown = 0Memory residence is unknown or not tracked.