Table of Contents

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 = 7

CPU local memory.

Device = 1

Device (GPU) memory.

GPU = 6

GPU local memory.

Host = 0

Host (CPU) memory.

HostPinned = 2

Pinned host memory for faster transfers.

Managed = 4

Managed memory with automatic migration.

System = 5

System memory pool.

Unified = 3

Unified memory accessible by both host and device.