Table of Contents

Enum CudaGraphMemoryAttribute

Namespace
JYPPX.CudaSharp
Assembly
JYPPX.CudaSharp.dll

Identifies CUDA graph-memory attributes exposed by cudaDeviceGetGraphMemAttribute. 标识 cudaDeviceGetGraphMemAttribute 暴露的 CUDA graph memory 属性。

public enum CudaGraphMemoryAttribute

Fields

ReservedMemoryCurrent = 2

Bytes currently reserved by the CUDA graphs asynchronous allocator. CUDA graphs 异步分配器当前保留的字节数。

ReservedMemoryHigh = 3

High watermark of bytes reserved by the CUDA graphs asynchronous allocator. CUDA graphs 异步分配器保留字节数的峰值。

UsedMemoryCurrent = 0

Bytes currently associated with CUDA graphs. 当前与 CUDA graphs 关联的字节数。

UsedMemoryHigh = 1

High watermark of bytes associated with CUDA graphs since the last reset. 自上次重置以来与 CUDA graphs 关联的字节数峰值。