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