Table of Contents

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

name string
capacity int

Properties

CreatedAt

public DateTimeOffset CreatedAt { get; }

Property Value

DateTimeOffset

Name

public string Name { get; }

Property Value

string

Streams

public IReadOnlyList<CudaStreamHandle> Streams { get; }

Property Value

IReadOnlyList<CudaStreamHandle>

Methods

AddStream(CudaStreamHandle)

public void AddStream(CudaStreamHandle stream)

Parameters

stream CudaStreamHandle

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()