Table of Contents

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

int

DefaultBackend

Default backend provider to use

public string? DefaultBackend { get; set; }

Property Value

string

DefaultMicroBatch

Default micro-batch size for kernel execution

public int DefaultMicroBatch { get; set; }

Property Value

int

EnableGpuDirectStorage

Enable GPU Direct Storage if available

public bool EnableGpuDirectStorage { get; set; }

Property Value

bool

EnableMetrics

Enable metrics collection (legacy property, use Telemetry.EnableMetrics instead)

public bool EnableMetrics { get; set; }

Property Value

bool

EnableProfiling

Enable kernel profiling

public bool EnableProfiling { get; set; }

Property Value

bool

EnableProviderDiscovery

Enable automatic discovery of backend providers

public bool EnableProviderDiscovery { get; set; }

Property Value

bool

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

bool

MaxConcurrentKernels

Maximum concurrent kernels per device

public int MaxConcurrentKernels { get; set; }

Property Value

int

MaxDevices

Maximum number of devices to use

public int MaxDevices { get; set; }

Property Value

int

MaxRetries

Maximum number of retry attempts

public int MaxRetries { get; set; }

Property Value

int

MemoryPoolSizeMB

Memory pool size in MB

public int MemoryPoolSizeMB { get; set; }

Property Value

int

PreferGpu

Whether to prefer GPU execution over CPU

public bool PreferGpu { get; set; }

Property Value

bool

ProviderOptions

Provider-specific configuration options

public Dictionary<string, object> ProviderOptions { get; set; }

Property Value

Dictionary<string, object>

Telemetry

Telemetry options

public TelemetryOptions Telemetry { get; set; }

Property Value

TelemetryOptions