Enum CudaHostRegistrationFlags
Flags that control registered host-memory behavior. 控制 registered host memory 行为的标志。
[Flags]
public enum CudaHostRegistrationFlags : uint
Fields
Default = 0Uses CUDA default host-registration behavior. 使用 CUDA 默认的 host registration 行为。
IoMemory = 4Marks the registration as I/O memory. 将该注册标记为 I/O memory。
Mapped = 2Maps the registered memory into the device address space. 将注册的内存映射到设备地址空间。
Portable = 1Makes the registration portable across CUDA contexts. 使该注册在多个 CUDA context 之间可移植。
ReadOnly = 8Registers the host memory as read-only from the device perspective. 从设备视角将 host memory 注册为只读。