Table of Contents

Class CudaGraphTopologySnapshot

Namespace
JYPPX.CudaSharp
Assembly
JYPPX.CudaSharp.dll

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

nodeCount ulong

The graph node count. graph 节点数量。

rootNodeCount ulong

The graph root-node count. graph root 节点数量。

edgeCount ulong

The graph dependency edge count. graph 依赖边数量。

edgeWithDataCount ulong

The 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

ulong

EdgeWithDataCount

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

public ulong EdgeWithDataCount { get; }

Property Value

ulong

NodeCount

Gets the graph node count. 获取 graph 节点数量。

public ulong NodeCount { get; }

Property Value

ulong

RootNodeCount

Gets the graph root-node count. 获取 graph root 节点数量。

public ulong RootNodeCount { get; }

Property Value

ulong

Methods

ToString()

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

public override string ToString()

Returns

string