Table of Contents

Class CudaGraphChildSnapshot

Namespace
JYPPX.CudaSharp
Assembly
JYPPX.CudaSharp.dll

Captures copied topology metadata for an embedded CUDA child graph. 捕获 CUDA embedded child graph 的复制型拓扑元数据。

public sealed class CudaGraphChildSnapshot
Inheritance
CudaGraphChildSnapshot
Inherited Members

Constructors

CudaGraphChildSnapshot(bool, ulong, ulong, ulong)

Initializes an embedded child-graph snapshot. 初始化 embedded child-graph 快照。

public CudaGraphChildSnapshot(bool hasEmbeddedGraph, ulong nodeCount, ulong rootNodeCount, ulong edgeCount)

Parameters

hasEmbeddedGraph bool
nodeCount ulong
rootNodeCount ulong
edgeCount ulong

Properties

EdgeCount

Gets the copied embedded edge count. 获取复制出的 embedded edge 数量。

public ulong EdgeCount { get; }

Property Value

ulong

HasEmbeddedGraph

Gets whether the child node has an embedded graph. 获取 child 节点是否包含 embedded graph。

public bool HasEmbeddedGraph { get; }

Property Value

bool

NodeCount

Gets the copied embedded node count. 获取复制出的 embedded node 数量。

public ulong NodeCount { get; }

Property Value

ulong

RootNodeCount

Gets the copied embedded root-node count. 获取复制出的 embedded root node 数量。

public ulong RootNodeCount { get; }

Property Value

ulong

Methods

ToString()

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

public override string ToString()

Returns

string