Enum CudaMemoryPoolAttribute
Identifies CUDA memory-pool attributes used by deployment memory management. 标识部署内存管理中常用的 CUDA 内存池属性。
public enum CudaMemoryPoolAttribute
Fields
ReleaseThreshold = 4Controls the amount of memory retained before release. 控制释放前保留的缓存内存量。
ReservedMemoryCurrent = 5Reports current reserved memory. 报告当前已保留的内存。
ReservedMemoryHigh = 6Reports high-water reserved memory. 报告已保留内存的峰值。
ReuseAllowInternalDependencies = 3Allows CUDA to insert internal dependencies for reuse. 允许 CUDA 为复用插入内部依赖。
ReuseAllowOpportunistic = 2Allows opportunistic allocation reuse. 允许机会性的分配复用。
ReuseFollowEventDependencies = 1Enables reuse that follows event dependencies. 启用遵循事件依赖关系的内存复用。
UsedMemoryCurrent = 7Reports current used memory. 报告当前已使用的内存。
UsedMemoryHigh = 8Reports high-water used memory. 报告已使用内存的峰值。