Table of Contents

Class BarrierTimeoutException

Namespace
DotCompute.Abstractions.Barriers
Assembly
DotCompute.Abstractions.dll

Exception thrown when a barrier operation times out.

public sealed class BarrierTimeoutException : Exception, ISerializable
Inheritance
BarrierTimeoutException
Implements
Inherited Members

Constructors

BarrierTimeoutException()

Initializes a new instance of the BarrierTimeoutException class.

public BarrierTimeoutException()

BarrierTimeoutException(int, int, int, int)

Initializes a new instance of the BarrierTimeoutException class.

public BarrierTimeoutException(int gpuId, int generation, int arrivedCount, int totalCount)

Parameters

gpuId int

GPU ID that timed out.

generation int

Generation counter.

arrivedCount int

Number of arrivals.

totalCount int

Total participants.

BarrierTimeoutException(string)

Initializes a new instance of the BarrierTimeoutException class with a message.

public BarrierTimeoutException(string message)

Parameters

message string

Exception message.

BarrierTimeoutException(string, Exception)

Initializes a new instance of the BarrierTimeoutException class with a message and inner exception.

public BarrierTimeoutException(string message, Exception innerException)

Parameters

message string

Exception message.

innerException Exception

Inner exception.

Properties

ArrivedCount

Number of participants that arrived before timeout.

public int ArrivedCount { get; }

Property Value

int

Generation

Generation counter at time of timeout.

public int Generation { get; }

Property Value

int

GpuId

GPU ID that timed out.

public int GpuId { get; }

Property Value

int