Table of Contents

Enum CudaHostRegistrationFlags

Namespace
JYPPX.CudaSharp
Assembly
JYPPX.CudaSharp.dll

Flags that control registered host-memory behavior. 控制 registered host memory 行为的标志。

[Flags]
public enum CudaHostRegistrationFlags : uint

Fields

Default = 0

Uses CUDA default host-registration behavior. 使用 CUDA 默认的 host registration 行为。

IoMemory = 4

Marks the registration as I/O memory. 将该注册标记为 I/O memory。

Mapped = 2

Maps the registered memory into the device address space. 将注册的内存映射到设备地址空间。

Portable = 1

Makes the registration portable across CUDA contexts. 使该注册在多个 CUDA context 之间可移植。

ReadOnly = 8

Registers the host memory as read-only from the device perspective. 从设备视角将 host memory 注册为只读。