Enum MemoryLocation
- Namespace
- DotCompute.Abstractions
- Assembly
- DotCompute.Abstractions.dll
Memory locations where buffers can be allocated. This is a duplicate of DotCompute.Core.Memory.MemoryLocation for backward compatibility.
public enum MemoryLocation
Fields
CPU = 7CPU local memory.
Device = 1Device (GPU) memory.
GPU = 6GPU local memory.
Host = 0Host (CPU) memory.
HostPinned = 2Pinned host memory for faster transfers.
Managed = 4Managed memory with automatic migration.
System = 5System memory pool.
Unified = 3Unified memory accessible by both host and device.