Class GpuBridgeOptions
- Namespace
- Orleans.GpuBridge.Abstractions
- Assembly
- Orleans.GpuBridge.Abstractions.dll
Configuration options for GPU Bridge
public sealed class GpuBridgeOptions
- Inheritance
-
GpuBridgeOptions
- Inherited Members
Properties
BatchSize
Default batch size for processing
public int BatchSize { get; set; }
Property Value
DefaultBackend
Default backend provider to use
public string? DefaultBackend { get; set; }
Property Value
DefaultMicroBatch
Default micro-batch size for kernel execution
public int DefaultMicroBatch { get; set; }
Property Value
EnableGpuDirectStorage
Enable GPU Direct Storage if available
public bool EnableGpuDirectStorage { get; set; }
Property Value
EnableMetrics
Enable metrics collection (legacy property, use Telemetry.EnableMetrics instead)
public bool EnableMetrics { get; set; }
Property Value
EnableProfiling
Enable kernel profiling
public bool EnableProfiling { get; set; }
Property Value
EnableProviderDiscovery
Enable automatic discovery of backend providers
public bool EnableProviderDiscovery { get; set; }
Property Value
FallbackChain
Fallback chain of backend providers to try
public string[]? FallbackChain { get; set; }
Property Value
- string[]
FallbackToCpu
Whether to fallback to CPU execution when GPU execution fails
public bool FallbackToCpu { get; set; }
Property Value
MaxConcurrentKernels
Maximum concurrent kernels per device
public int MaxConcurrentKernels { get; set; }
Property Value
MaxDevices
Maximum number of devices to use
public int MaxDevices { get; set; }
Property Value
MaxRetries
Maximum number of retry attempts
public int MaxRetries { get; set; }
Property Value
MemoryPoolSizeMB
Memory pool size in MB
public int MemoryPoolSizeMB { get; set; }
Property Value
PreferGpu
Whether to prefer GPU execution over CPU
public bool PreferGpu { get; set; }
Property Value
ProviderOptions
Provider-specific configuration options
public Dictionary<string, object> ProviderOptions { get; set; }
Property Value
Telemetry
Telemetry options
public TelemetryOptions Telemetry { get; set; }