Class MetalStreamGroup
- Namespace
- DotCompute.Backends.Metal.Execution.Types
- Assembly
- DotCompute.Backends.Metal.dll
Group of related Metal streams for batch operations and coordinated execution.
public sealed class MetalStreamGroup : IDisposable
- Inheritance
-
MetalStreamGroup
- Implements
- Inherited Members
- Extension Methods
Constructors
MetalStreamGroup(string, int)
public MetalStreamGroup(string name, int capacity = 0)
Parameters
Properties
CreatedAt
public DateTimeOffset CreatedAt { get; }
Property Value
Name
public string Name { get; }
Property Value
Streams
public IReadOnlyList<MetalStreamHandle> Streams { get; }
Property Value
Methods
AddStream(StreamId, nint)
public void AddStream(StreamId streamId, nint commandQueue)
Parameters
AddStream(MetalStreamHandle)
public void AddStream(MetalStreamHandle stream)
Parameters
streamMetalStreamHandle
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()