Table of Contents

Struct CudaGraphNodeDependency

Namespace
JYPPX.CudaSharp
Assembly
JYPPX.CudaSharp.dll

Describes a graph node reached through a dependency edge and its edge data. 描述通过依赖边关联的 graph node 及其 edge data。

public readonly struct CudaGraphNodeDependency
Inherited Members

Constructors

CudaGraphNodeDependency(CudaGraphNode, CudaGraphEdgeData)

Initializes an adjacent graph node dependency. 初始化相邻 graph node dependency。

public CudaGraphNodeDependency(CudaGraphNode node, CudaGraphEdgeData edgeData)

Parameters

node CudaGraphNode

The adjacent node. 相邻节点。

edgeData CudaGraphEdgeData

The edge data. 边数据。

Properties

EdgeData

Gets the edge data associated with the dependency. 获取该依赖对应的 edge data。

public CudaGraphEdgeData EdgeData { get; }

Property Value

CudaGraphEdgeData

Node

Gets the adjacent graph node. 获取相邻 graph node。

public CudaGraphNode Node { get; }

Property Value

CudaGraphNode

Methods

ToString()

Formats the dependency for diagnostics. 将 dependency 格式化为诊断字符串。

public override string ToString()

Returns

string