Class BackendConfiguration
- Namespace
- Orleans.GpuBridge.Abstractions.Providers
- Assembly
- Orleans.GpuBridge.Abstractions.dll
Configuration for a backend provider
public sealed record BackendConfiguration : IEquatable<BackendConfiguration>
- Inheritance
-
BackendConfiguration
- Implements
- Inherited Members
Constructors
BackendConfiguration(bool, bool, int, int, IReadOnlyDictionary<string, object>?)
Configuration for a backend provider
public BackendConfiguration(bool EnableProfiling = false, bool EnableDebugMode = false, int MaxMemoryPoolSizeMB = 2048, int MaxConcurrentKernels = 50, IReadOnlyDictionary<string, object>? CustomSettings = null)
Parameters
EnableProfilingboolEnableDebugModeboolMaxMemoryPoolSizeMBintMaxConcurrentKernelsintCustomSettingsIReadOnlyDictionary<string, object>
Properties
CustomSettings
public IReadOnlyDictionary<string, object>? CustomSettings { get; init; }
Property Value
EnableDebugMode
public bool EnableDebugMode { get; init; }
Property Value
EnableProfiling
public bool EnableProfiling { get; init; }
Property Value
MaxConcurrentKernels
public int MaxConcurrentKernels { get; init; }
Property Value
MaxMemoryPoolSizeMB
public int MaxMemoryPoolSizeMB { get; init; }