Enum MemoryTransferType
- Namespace
- DotCompute.Abstractions.Types
- Assembly
- DotCompute.Abstractions.dll
Defines the types of memory transfers in CUDA.
public enum MemoryTransferType
Fields
DeviceToDevice = 2Transfer between two device (GPU) memory locations.
DeviceToHost = 1Transfer from device (GPU) memory to host (CPU) memory.
HostToDevice = 0Transfer from host (CPU) memory to device (GPU) memory.
HostToHost = 3Transfer between two host (CPU) memory locations.
UnifiedMemory = 4Transfer involving unified memory that can be accessed by both host and device.