Enum ManagedMemoryOptions
- Namespace
- DotCompute.Backends.CUDA.Types
- Assembly
- DotCompute.Abstractions.dll
Flags for CUDA managed memory allocation and behavior.
[Flags]
public enum ManagedMemoryOptions
Fields
EnablePrefetch = 32Enable prefetching optimizations.
MultiDevice = 16Memory is shared across multiple devices.
None = 0Default managed memory behavior.
PreferDevice = 1Memory should be initially resident on the device.
PreferHost = 2Memory should be initially resident on the host.
ReadMostly = 4Enable read-mostly optimization.
SingleDevice = 8Memory is accessed by a single device.
TrackAccess = 64Track access patterns for optimization.