Table of Contents

Class OpenCLCommandGraph.Node

Namespace
DotCompute.Backends.OpenCL.Execution
Assembly
DotCompute.Backends.OpenCL.dll

Represents a node in the command graph.

public sealed class OpenCLCommandGraph.Node
Inheritance
OpenCLCommandGraph.Node
Inherited Members

Properties

Dependencies

Gets or initializes the list of nodes that must complete before this node.

public IList<OpenCLCommandGraph.Node> Dependencies { get; init; }

Property Value

IList<OpenCLCommandGraph.Node>

Metadata

Gets or initializes optional metadata for the node.

public Dictionary<string, object>? Metadata { get; init; }

Property Value

Dictionary<string, object>

Name

Gets or initializes the unique name of the node.

public required string Name { get; init; }

Property Value

string

Operation

Gets or initializes the operation to execute.

public required object Operation { get; init; }

Property Value

object

Type

Gets or initializes the type of operation this node represents.

public required OpenCLCommandGraph.NodeType Type { get; init; }

Property Value

OpenCLCommandGraph.NodeType