Table of Contents

Enum MemoryTransferType

Namespace
DotCompute.Abstractions.Types
Assembly
DotCompute.Abstractions.dll

Defines the types of memory transfers in CUDA.

public enum MemoryTransferType

Fields

DeviceToDevice = 2

Transfer between two device (GPU) memory locations.

DeviceToHost = 1

Transfer from device (GPU) memory to host (CPU) memory.

HostToDevice = 0

Transfer from host (CPU) memory to device (GPU) memory.

HostToHost = 3

Transfer between two host (CPU) memory locations.

UnifiedMemory = 4

Transfer involving unified memory that can be accessed by both host and device.