Enum CudaHostAllocFlags
- Namespace
- DotCompute.Backends.CUDA.Memory
- Assembly
- DotCompute.Backends.CUDA.dll
Flags for pinned memory allocation.
[Flags]
public enum CudaHostAllocFlags
Fields
Mapped = 2Maps allocation to device address space.
None = 0No special allocation flags.
Portable = 4Makes allocation portable across CUDA contexts.
WriteCombined = 1Allocates write-combined memory for improved GPU write performance.