Class MetalErrorRecoveryOptions
- Namespace
- DotCompute.Backends.Metal.Execution
- Assembly
- DotCompute.Backends.Metal.dll
Configuration options for Metal error recovery
public sealed class MetalErrorRecoveryOptions
- Inheritance
-
MetalErrorRecoveryOptions
- Inherited Members
Properties
AllowDeviceReset
Whether to allow device reset operations
public bool AllowDeviceReset { get; set; }
Property Value
CircuitBreakerDurationSeconds
Duration to keep circuit breaker open in seconds
public int CircuitBreakerDurationSeconds { get; set; }
Property Value
CircuitBreakerThreshold
Circuit breaker threshold for catastrophic errors
public int CircuitBreakerThreshold { get; set; }
Property Value
EnableCpuFallback
Whether to enable CPU fallback for supported operations
public bool EnableCpuFallback { get; set; }
Property Value
MaxRetryAttempts
Maximum number of retry attempts for transient errors
public int MaxRetryAttempts { get; set; }
Property Value
MaxRetryDelayMs
Maximum delay between retries in milliseconds
public int MaxRetryDelayMs { get; set; }
Property Value
MemoryRetryAttempts
Number of memory-specific retry attempts
public int MemoryRetryAttempts { get; set; }