Class CudaStreamGroup
- Namespace
- DotCompute.Backends.CUDA.Execution
- Assembly
- DotCompute.Backends.CUDA.dll
Group of streams working together
public sealed class CudaStreamGroup : IDisposable
- Inheritance
-
CudaStreamGroup
- Implements
- Inherited Members
- Extension Methods
Constructors
CudaStreamGroup(string, int)
Group of streams working together
public CudaStreamGroup(string name, int capacity = 4)
Parameters
Properties
Name
Gets or sets the name.
public string Name { get; }
Property Value
- string
The name.
Streams
Gets or sets the streams.
public IReadOnlyDictionary<StreamId, nint> Streams { get; }
Property Value
- IReadOnlyDictionary<StreamId, nint>
The streams.
Methods
Dispose()
Performs dispose.
public void Dispose()