Table of Contents

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

bool

CircuitBreakerDurationSeconds

Duration to keep circuit breaker open in seconds

public int CircuitBreakerDurationSeconds { get; set; }

Property Value

int

CircuitBreakerThreshold

Circuit breaker threshold for catastrophic errors

public int CircuitBreakerThreshold { get; set; }

Property Value

int

EnableCpuFallback

Whether to enable CPU fallback for supported operations

public bool EnableCpuFallback { get; set; }

Property Value

bool

MaxRetryAttempts

Maximum number of retry attempts for transient errors

public int MaxRetryAttempts { get; set; }

Property Value

int

MaxRetryDelayMs

Maximum delay between retries in milliseconds

public int MaxRetryDelayMs { get; set; }

Property Value

int

MemoryRetryAttempts

Number of memory-specific retry attempts

public int MemoryRetryAttempts { get; set; }

Property Value

int