Class CudaGraphEdgeSnapshot
Captures copied diagnostics for a CUDA graph dependency edge. 捕获 CUDA graph 依赖边的复制型诊断信息。
public sealed class CudaGraphEdgeSnapshot
- Inheritance
-
CudaGraphEdgeSnapshot
- Inherited Members
Constructors
CudaGraphEdgeSnapshot(ulong, CudaGraphNode, CudaGraphNode, CudaGraphEdgeData, bool)
Initializes a CUDA graph edge snapshot. 初始化 CUDA graph edge 快照。
public CudaGraphEdgeSnapshot(ulong index, CudaGraphNode from, CudaGraphNode to, CudaGraphEdgeData edgeData, bool hasEdgeData)
Parameters
indexulongThe zero-based edge index. 从零开始的边索引。
fromCudaGraphNodeThe source graph-owned node value token. 源 graph-owned node 值 token。
toCudaGraphNodeThe destination graph-owned node value token. 目标 graph-owned node 值 token。
edgeDataCudaGraphEdgeDataThe copied CUDA edge data when available. 可用时复制出的 CUDA edge data。
hasEdgeDataboolWhether
edgeDatais available.edgeData是否可用。
Properties
EdgeData
Gets the copied CUDA edge data when available. 获取可用时复制出的 CUDA edge data。
public CudaGraphEdgeData EdgeData { get; }
Property Value
EdgeDataState
Gets a diagnostic state for edge-data availability. 获取 edge-data 可用性的诊断状态。
public string EdgeDataState { get; }
Property Value
From
Gets the source graph-owned node value token. 获取源 graph-owned node 值 token。
public CudaGraphNode From { get; }
Property Value
FromText
Gets a diagnostic text representation of the source node token. 获取源 node token 的诊断文本表示。
public string FromText { get; }
Property Value
HasEdgeData
Gets whether copied CUDA edge data is available. 获取是否存在复制出的 CUDA edge data。
public bool HasEdgeData { get; }
Property Value
Index
Gets the zero-based edge index. 获取从零开始的边索引。
public ulong Index { get; }
Property Value
To
Gets the destination graph-owned node value token. 获取目标 graph-owned node 值 token。
public CudaGraphNode To { get; }
Property Value
ToText
Gets a diagnostic text representation of the destination node token. 获取目标 node token 的诊断文本表示。
public string ToText { get; }
Property Value
Methods
ToString()
Formats this snapshot for diagnostics. 将该快照格式化为诊断字符串。
public override string ToString()