Enum CUmemAdvise
Memory advise values
Namespace: ManagedCuda.BasicTypes
Assembly: ManagedCuda.dll
Syntax
public enum CUmemAdvise
Fields
| Name | Description |
|---|---|
| SetAccessedBy | Data will be accessed by the specified device, so prevent page faults as much as possible |
| SetPreferredLocation | Set the preferred location for the data as the specified device |
| SetReadMostly | Data will mostly be read and only occassionally be written to |
| UnsetAccessedBy | Let the Unified Memory subsystem decide on the page faulting policy for the specified device |
| UnsetPreferredLocation | Clear the preferred location for the data |
| UnsetReadMostly | Undo the effect of ::CU_MEM_ADVISE_SET_READ_MOSTLY |