Table of Contents

Class CudaGraphNodeSnapshot

Namespace
JYPPX.CudaSharp
Assembly
JYPPX.CudaSharp.dll

Captures copied diagnostics for a CUDA graph node entry. 捕获 CUDA graph node 条目的复制型诊断信息。

public sealed class CudaGraphNodeSnapshot
Inheritance
CudaGraphNodeSnapshot
Inherited Members

Constructors

CudaGraphNodeSnapshot(ulong, CudaGraphNode, CudaGraphNodeTopologySnapshot)

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

public CudaGraphNodeSnapshot(ulong index, CudaGraphNode node, CudaGraphNodeTopologySnapshot topology)

Parameters

index ulong

The zero-based node index within the queried list. 查询列表中的从零开始节点索引。

node CudaGraphNode

The graph-owned node value token. graph 拥有的 node 值 token。

topology CudaGraphNodeTopologySnapshot

The copied node topology snapshot. 复制出的 node 拓扑快照。

Properties

Index

Gets the zero-based node index within the queried list. 获取查询列表中的从零开始节点索引。

public ulong Index { get; }

Property Value

ulong

Node

Gets the graph-owned node value token. 获取 graph 拥有的 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

Topology

Gets the copied node topology snapshot. 获取复制出的 node 拓扑快照。

public CudaGraphNodeTopologySnapshot Topology { get; }

Property Value

CudaGraphNodeTopologySnapshot

Methods

ToString()

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

public override string ToString()

Returns

string