Table of Contents

Struct CudaGraphEdgeWithData

Namespace
JYPPX.CudaSharp
Assembly
JYPPX.CudaSharp.dll

Describes a CUDA graph dependency edge together with CUDA edge data. 描述带 CUDA edge data 的 CUDA graph 依赖边。

public readonly struct CudaGraphEdgeWithData
Inherited Members

Constructors

CudaGraphEdgeWithData(CudaGraphNode, CudaGraphNode, CudaGraphEdgeData)

Initializes a dependency edge with CUDA edge data. 使用两个 CUDA graph 节点和 edge data 初始化一条依赖边。

public CudaGraphEdgeWithData(CudaGraphNode from, CudaGraphNode to, CudaGraphEdgeData edgeData)

Parameters

from CudaGraphNode

The source node. 源节点。

to CudaGraphNode

The destination node. 目标节点。

edgeData CudaGraphEdgeData

The CUDA graph edge data. CUDA graph 边数据。

Properties

EdgeData

Gets the CUDA graph edge data. 获取 CUDA graph edge data。

public CudaGraphEdgeData EdgeData { get; }

Property Value

CudaGraphEdgeData

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