Class CudaGraphExecUpdateSnapshot
Captures pointer-free metadata from a CUDA executable-graph update. 捕获 CUDA executable graph 更新产生的不含指针的元数据。
public sealed class CudaGraphExecUpdateSnapshot
- Inheritance
-
CudaGraphExecUpdateSnapshot
- Inherited Members
Constructors
CudaGraphExecUpdateSnapshot(CudaGraphExecUpdateResult, CudaGraphNodeType?, CudaGraphNodeType?)
Initializes an executable-graph update snapshot. 初始化 executable graph 更新快照。
public CudaGraphExecUpdateSnapshot(CudaGraphExecUpdateResult result, CudaGraphNodeType? errorNodeType, CudaGraphNodeType? errorFromNodeType)
Parameters
resultCudaGraphExecUpdateResulterrorNodeTypeCudaGraphNodeType?errorFromNodeTypeCudaGraphNodeType?
Properties
ErrorFromNodeType
Gets the copied source error-node type when available. 获取可用时复制出的源错误节点类型。
public CudaGraphNodeType? ErrorFromNodeType { get; }
Property Value
ErrorNodeType
Gets the copied error-node type when available. 获取可用时复制出的错误节点类型。
public CudaGraphNodeType? ErrorNodeType { get; }
Property Value
Result
Gets the CUDA update result. 获取 CUDA 更新结果。
public CudaGraphExecUpdateResult Result { get; }
Property Value
Succeeded
Gets whether the update succeeded. 获取更新是否成功。
public bool Succeeded { get; }
Property Value
Methods
ToString()
Formats this snapshot for diagnostics. 将该快照格式化为诊断字符串。
public override string ToString()