Table of Contents

Class CudaGraphNodeTopologySnapshot

Namespace
JYPPX.CudaSharp
Assembly
JYPPX.CudaSharp.dll

Captures copied topology counters for a CUDA graph node. 捕获 CUDA graph node 的复制型拓扑计数。

public sealed class CudaGraphNodeTopologySnapshot
Inheritance
CudaGraphNodeTopologySnapshot
Inherited Members

Constructors

CudaGraphNodeTopologySnapshot(CudaGraphNodeType, ulong, ulong, ulong, ulong)

Initializes a CUDA graph node topology snapshot. 初始化 CUDA graph node 拓扑快照。

public CudaGraphNodeTopologySnapshot(CudaGraphNodeType nodeType, ulong dependencyCount, ulong dependencyWithEdgeDataCount, ulong dependentCount, ulong dependentWithEdgeDataCount)

Parameters

nodeType CudaGraphNodeType

The CUDA graph node type. CUDA graph node 类型。

dependencyCount ulong

The dependency count. 依赖数量。

dependencyWithEdgeDataCount ulong

The dependency count available through CUDA edge-data queries. 可通过 CUDA edge-data 查询访问的依赖数量。

dependentCount ulong

The dependent-node count. 依赖当前节点的节点数量。

dependentWithEdgeDataCount ulong

The dependent-node count available through CUDA edge-data queries. 可通过 CUDA edge-data 查询访问的 dependent 节点数量。

Properties

DependencyCount

Gets the dependency count. 获取依赖数量。

public ulong DependencyCount { get; }

Property Value

ulong

DependencyWithEdgeDataCount

Gets the dependency count available through CUDA edge-data queries. 获取可通过 CUDA edge-data 查询访问的依赖数量。

public ulong DependencyWithEdgeDataCount { get; }

Property Value

ulong

DependentCount

Gets the dependent-node count. 获取依赖当前节点的节点数量。

public ulong DependentCount { get; }

Property Value

ulong

DependentWithEdgeDataCount

Gets the dependent-node count available through CUDA edge-data queries. 获取可通过 CUDA edge-data 查询访问的 dependent 节点数量。

public ulong DependentWithEdgeDataCount { get; }

Property Value

ulong

NodeType

Gets the CUDA graph node type. 获取 CUDA graph node 类型。

public CudaGraphNodeType NodeType { get; }

Property Value

CudaGraphNodeType

Methods

ToString()

Formats this snapshot for diagnostics. 将该快照格式化为诊断字符串。

public override string ToString()

Returns

string