Table of Contents

Struct CudaGraphEdge

Namespace
JYPPX.CudaSharp
Assembly
JYPPX.CudaSharp.dll

Describes a dependency edge between two CUDA graph nodes. 描述两个 CUDA graph node 之间的一条依赖边。

public readonly struct CudaGraphEdge
Inherited Members

Constructors

CudaGraphEdge(CudaGraphNode, CudaGraphNode)

Initializes a dependency edge between two CUDA graph nodes. 使用两个 CUDA graph 节点初始化一条依赖边。

public CudaGraphEdge(CudaGraphNode from, CudaGraphNode to)

Parameters

from CudaGraphNode

The source node. 源节点。

to CudaGraphNode

The destination node. 目标节点。

Properties

From

Gets the source node of the dependency edge. 获取依赖边的源 node。

public CudaGraphNode From { get; }

Property Value

CudaGraphNode

To

Gets the destination node of the dependency edge. 获取依赖边的目标 node。

public CudaGraphNode To { get; }

Property Value

CudaGraphNode

Methods

ToString()

Formats the dependency edge for diagnostics. 将依赖边格式化为便于诊断的字符串。

public override string ToString()

Returns

string