Enum CudaPinnedMemoryAllocationFlags
Flags that control pinned host-memory allocation behavior. 控制 pinned host memory 分配行为的标志。
[Flags]
public enum CudaPinnedMemoryAllocationFlags : uint
Fields
Default = 0Uses CUDA default pinned-memory allocation behavior. 使用 CUDA 默认的 pinned memory 分配行为。
Mapped = 2Maps the pinned allocation into the device address space. 将该 pinned 分配映射到设备地址空间。
Portable = 1Makes the allocation portable across CUDA contexts. 使该分配在多个 CUDA context 之间可移植。
WriteCombined = 4Requests write-combined host memory. 请求 write-combined host memory。