Table of Contents

Enum CudaPinnedMemoryAllocationFlags

Namespace
JYPPX.CudaSharp
Assembly
JYPPX.CudaSharp.dll

Flags that control pinned host-memory allocation behavior. 控制 pinned host memory 分配行为的标志。

[Flags]
public enum CudaPinnedMemoryAllocationFlags : uint

Fields

Default = 0

Uses CUDA default pinned-memory allocation behavior. 使用 CUDA 默认的 pinned memory 分配行为。

Mapped = 2

Maps the pinned allocation into the device address space. 将该 pinned 分配映射到设备地址空间。

Portable = 1

Makes the allocation portable across CUDA contexts. 使该分配在多个 CUDA context 之间可移植。

WriteCombined = 4

Requests write-combined host memory. 请求 write-combined host memory。