Enum CudaMemoryAdvice
Memory-advice commands accepted by CUDA managed memory. CUDA managed memory 接受的内存建议命令。
public enum CudaMemoryAdvice
Fields
SetAccessedBy = 5Marks the memory range as accessed by a device. 将该内存范围标记为会被某个设备访问。
SetPreferredLocation = 3Sets a preferred location for the memory range. 为该内存范围设置首选位置。
SetReadMostly = 1Marks the memory range as read-mostly. 将该内存范围标记为主要用于读取。
UnsetAccessedBy = 6Clears the accessed-by advice. 清除 accessed-by 建议。
UnsetPreferredLocation = 4Clears the preferred location advice. 清除首选位置建议。
UnsetReadMostly = 2Clears the read-mostly advice. 清除主要读取的建议标记。