Table of Contents

Enum CudaMemoryAdvice

Namespace
JYPPX.CudaSharp
Assembly
JYPPX.CudaSharp.dll

Memory-advice commands accepted by CUDA managed memory. CUDA managed memory 接受的内存建议命令。

public enum CudaMemoryAdvice

Fields

SetAccessedBy = 5

Marks the memory range as accessed by a device. 将该内存范围标记为会被某个设备访问。

SetPreferredLocation = 3

Sets a preferred location for the memory range. 为该内存范围设置首选位置。

SetReadMostly = 1

Marks the memory range as read-mostly. 将该内存范围标记为主要用于读取。

UnsetAccessedBy = 6

Clears the accessed-by advice. 清除 accessed-by 建议。

UnsetPreferredLocation = 4

Clears the preferred location advice. 清除首选位置建议。

UnsetReadMostly = 2

Clears the read-mostly advice. 清除主要读取的建议标记。