Class ErrorRecoveryOptions
- Namespace
- DotCompute.Backends.CUDA.ErrorHandling
- Assembly
- DotCompute.Backends.CUDA.dll
Error recovery configuration options.
public sealed class ErrorRecoveryOptions
- Inheritance
-
ErrorRecoveryOptions
- Inherited Members
Properties
AllowDeviceReset
Gets a value indicating whether [allow device reset].
public bool AllowDeviceReset { get; init; }
Property Value
- bool
trueif [allow device reset]; otherwise,false.
CircuitBreakerDurationSeconds
Gets the circuit breaker duration seconds.
public int CircuitBreakerDurationSeconds { get; init; }
Property Value
- int
The circuit breaker duration seconds.
CircuitBreakerThreshold
Gets the circuit breaker threshold.
public int CircuitBreakerThreshold { get; init; }
Property Value
- int
The circuit breaker threshold.
EnableCpuFallback
Gets a value indicating whether [enable cpu fallback].
public bool EnableCpuFallback { get; init; }
Property Value
- bool
trueif [enable cpu fallback]; otherwise,false.
EnableDiagnosticLogging
Gets a value indicating whether [enable diagnostic logging].
public bool EnableDiagnosticLogging { get; init; }
Property Value
- bool
trueif [enable diagnostic logging]; otherwise,false.
MaxRetryAttempts
Gets the maximum retry attempts.
public int MaxRetryAttempts { get; init; }
Property Value
- int
The maximum retry attempts.
MaxRetryDelayMs
Gets the maximum retry delay ms.
public int MaxRetryDelayMs { get; init; }
Property Value
- int
The maximum retry delay ms.
MemoryRetryAttempts
Gets the memory retry attempts.
public int MemoryRetryAttempts { get; init; }
Property Value
- int
The memory retry attempts.