Table of Contents

Class MetalExecutionGraph

Namespace
DotCompute.Backends.Metal.Execution
Assembly
DotCompute.Backends.Metal.dll

Execution graph for coordinated stream operations

public sealed class MetalExecutionGraph
Inheritance
MetalExecutionGraph
Inherited Members

Methods

AddNode(string, Func<nint, nint, Task>, MetalStreamPriority, params string[])

public void AddNode(string id, Func<nint, nint, Task> operation, MetalStreamPriority priority = MetalStreamPriority.Normal, params string[] dependencies)

Parameters

id string
operation Func<nint, nint, Task>
priority MetalStreamPriority
dependencies string[]