Table of Contents

Class CudaGraphAdjacentNodeSnapshot

Namespace
JYPPX.CudaSharp
Assembly
JYPPX.CudaSharp.dll

Captures copied diagnostics for an adjacent CUDA graph node. 捕获相邻 CUDA graph node 的复制型诊断信息。

public sealed class CudaGraphAdjacentNodeSnapshot
Inheritance
CudaGraphAdjacentNodeSnapshot
Inherited Members

Constructors

CudaGraphAdjacentNodeSnapshot(ulong, CudaGraphNode, CudaGraphEdgeData, bool)

Initializes an adjacent CUDA graph node snapshot without edge-data metadata. 初始化不含 edge-data 元数据的相邻 CUDA graph node 快照。

public CudaGraphAdjacentNodeSnapshot(ulong index, CudaGraphNode node, CudaGraphEdgeData edgeData, bool hasEdgeData)

Parameters

index ulong

The zero-based adjacent node index. 从零开始的相邻节点索引。

node CudaGraphNode

The adjacent graph-owned node value token. 相邻的 graph-owned node 值 token。

edgeData CudaGraphEdgeData

The copied CUDA edge data when available. 可用时复制出的 CUDA edge data。

hasEdgeData bool

Whether edgeData is available. edgeData 是否可用。

Properties

EdgeData

Gets the copied CUDA edge data when available. 获取可用时复制出的 CUDA edge data。

public CudaGraphEdgeData EdgeData { get; }

Property Value

CudaGraphEdgeData

EdgeDataState

Gets a diagnostic state for edge-data availability. 获取 edge-data 可用性的诊断状态。

public string EdgeDataState { get; }

Property Value

string

HasEdgeData

Gets whether copied CUDA edge data is available. 获取是否存在复制出的 CUDA edge data。

public bool HasEdgeData { get; }

Property Value

bool

Index

Gets the zero-based adjacent node index. 获取从零开始的相邻节点索引。

public ulong Index { get; }

Property Value

ulong

Node

Gets the adjacent graph-owned node value token. 获取相邻的 graph-owned node 值 token。

public CudaGraphNode Node { get; }

Property Value

CudaGraphNode

NodeText

Gets a diagnostic text representation of the node token. 获取 node token 的诊断文本表示。

public string NodeText { get; }

Property Value

string

Methods

ToString()

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

public override string ToString()

Returns

string