Table of Contents

Enum CudaMemoryPoolAttribute

Namespace
JYPPX.CudaSharp
Assembly
JYPPX.CudaSharp.dll

Identifies CUDA memory-pool attributes used by deployment memory management. 标识部署内存管理中常用的 CUDA 内存池属性。

public enum CudaMemoryPoolAttribute

Fields

ReleaseThreshold = 4

Controls the amount of memory retained before release. 控制释放前保留的缓存内存量。

ReservedMemoryCurrent = 5

Reports current reserved memory. 报告当前已保留的内存。

ReservedMemoryHigh = 6

Reports high-water reserved memory. 报告已保留内存的峰值。

ReuseAllowInternalDependencies = 3

Allows CUDA to insert internal dependencies for reuse. 允许 CUDA 为复用插入内部依赖。

ReuseAllowOpportunistic = 2

Allows opportunistic allocation reuse. 允许机会性的分配复用。

ReuseFollowEventDependencies = 1

Enables reuse that follows event dependencies. 启用遵循事件依赖关系的内存复用。

UsedMemoryCurrent = 7

Reports current used memory. 报告当前已使用的内存。

UsedMemoryHigh = 8

Reports high-water used memory. 报告已使用内存的峰值。