Struct CudaGraphNodeDependency
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
nodeCudaGraphNodeThe adjacent node. 相邻节点。
edgeDataCudaGraphEdgeDataThe edge data. 边数据。
Properties
EdgeData
Gets the edge data associated with the dependency. 获取该依赖对应的 edge data。
public CudaGraphEdgeData EdgeData { get; }
Property Value
Node
Gets the adjacent graph node. 获取相邻 graph node。
public CudaGraphNode Node { get; }
Property Value
Methods
ToString()
Formats the dependency for diagnostics. 将 dependency 格式化为诊断字符串。
public override string ToString()