Table of Contents

Class DotComputeOptions

Namespace
Orleans.GpuBridge.Backends.DotCompute.Configuration
Assembly
Orleans.GpuBridge.Backends.DotCompute.dll

Configuration options for the DotCompute backend provider.

public sealed class DotComputeOptions
Inheritance
DotComputeOptions
Inherited Members

Properties

CompilationTimeoutMs

Gets or sets the kernel compilation timeout in milliseconds. Default is 30000 (30 seconds).

public int CompilationTimeoutMs { get; set; }

Property Value

int

DefaultAccelerator

Gets or sets the default accelerator type to use. If null, DotCompute will automatically select the best available device.

public AcceleratorType? DefaultAccelerator { get; set; }

Property Value

AcceleratorType?

EnableAutoOptimization

Gets or sets a value indicating whether to enable automatic performance optimization. Default is true.

public bool EnableAutoOptimization { get; set; }

Property Value

bool

EnableKernelCaching

Gets or sets a value indicating whether to enable kernel compilation caching. Default is true for significant performance improvement on repeated kernel execution.

public bool EnableKernelCaching { get; set; }

Property Value

bool

EnableProductionDebugging

Gets or sets a value indicating whether to enable production debugging features. Default is false. Set to true to enable cross-backend validation and detailed diagnostics.

public bool EnableProductionDebugging { get; set; }

Property Value

bool

EnableTelemetry

Gets or sets a value indicating whether to enable telemetry collection. Default is false.

public bool EnableTelemetry { get; set; }

Property Value

bool

ExecutionTimeoutMs

Gets or sets the kernel execution timeout in milliseconds. Default is 60000 (60 seconds).

public int ExecutionTimeoutMs { get; set; }

Property Value

int

MaxConcurrentExecutions

Gets or sets the maximum number of concurrent kernel executions. If null, uses DotCompute default based on device capabilities.

public int? MaxConcurrentExecutions { get; set; }

Property Value

int?