Class CudaGraphTopologySnapshot
Captures a copied, ownership-neutral topology summary for a CUDA graph. 捕获 CUDA graph 的复制型、无所有权转移拓扑摘要。
public sealed class CudaGraphTopologySnapshot
- Inheritance
-
CudaGraphTopologySnapshot
- Inherited Members
Constructors
CudaGraphTopologySnapshot(ulong, ulong, ulong, ulong)
Initializes a CUDA graph topology snapshot. 初始化 CUDA graph 拓扑快照。
public CudaGraphTopologySnapshot(ulong nodeCount, ulong rootNodeCount, ulong edgeCount, ulong edgeWithDataCount)
Parameters
nodeCountulongThe graph node count. graph 节点数量。
rootNodeCountulongThe graph root-node count. graph root 节点数量。
edgeCountulongThe graph dependency edge count. graph 依赖边数量。
edgeWithDataCountulongThe dependency edge count available through CUDA edge-data queries. 可通过 CUDA edge-data 查询访问的依赖边数量。
Properties
EdgeCount
Gets the graph dependency edge count. 获取 graph 依赖边数量。
public ulong EdgeCount { get; }
Property Value
EdgeWithDataCount
Gets the dependency edge count available through CUDA edge-data queries. 获取可通过 CUDA edge-data 查询访问的依赖边数量。
public ulong EdgeWithDataCount { get; }
Property Value
NodeCount
Gets the graph node count. 获取 graph 节点数量。
public ulong NodeCount { get; }
Property Value
RootNodeCount
Gets the graph root-node count. 获取 graph root 节点数量。
public ulong RootNodeCount { get; }
Property Value
Methods
ToString()
Formats this snapshot for diagnostics. 将该快照格式化为诊断字符串。
public override string ToString()