Table of Contents

Class PersistentKernelOptions

Namespace
Orleans.GpuBridge.Runtime.Persistent
Assembly
Orleans.GpuBridge.Runtime.dll

Options for persistent kernel execution.

public sealed class PersistentKernelOptions
Inheritance
PersistentKernelOptions
Inherited Members

Properties

BatchSize

Gets or sets the number of items to process in each batch. Default is 100.

public int BatchSize { get; set; }

Property Value

int

MaxBatchWaitTime

Gets or sets the maximum time to wait before flushing a partial batch. Default is 100ms.

public TimeSpan MaxBatchWaitTime { get; set; }

Property Value

TimeSpan

MaxRetries

Gets or sets the maximum number of restart retries. Default is 3.

public int MaxRetries { get; set; }

Property Value

int

RestartOnError

Gets or sets whether to automatically restart the kernel on error. Default is true.

public bool RestartOnError { get; set; }

Property Value

bool

RetryDelay

Gets or sets the delay between restart attempts. Default is 1 second.

public TimeSpan RetryDelay { get; set; }

Property Value

TimeSpan