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
gpuIdintGPU ID that timed out.
generationintGeneration counter.
arrivedCountintNumber of arrivals.
totalCountintTotal participants.
BarrierTimeoutException(string)
Initializes a new instance of the BarrierTimeoutException class with a message.
public BarrierTimeoutException(string message)
Parameters
messagestringException 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
Properties
ArrivedCount
Number of participants that arrived before timeout.
public int ArrivedCount { get; }
Property Value
Generation
Generation counter at time of timeout.
public int Generation { get; }
Property Value
GpuId
GPU ID that timed out.
public int GpuId { get; }