Class GpuPlacementStrategy
GPU-aware placement strategy for Orleans grains
[Serializable]
[GenerateSerializer]
public sealed class GpuPlacementStrategy : PlacementStrategy
- Inheritance
-
GpuPlacementStrategy
- Inherited Members
Properties
Instance
Gets the singleton instance of the GPU placement strategy
public static GpuPlacementStrategy Instance { get; }
Property Value
MinimumGpuMemoryMB
Gets or sets the minimum GPU memory required in MB
[Id(1)]
public int MinimumGpuMemoryMB { get; init; }
Property Value
PreferLocalPlacement
Gets or sets whether to prefer placing grains on the local silo
[Id(0)]
public bool PreferLocalPlacement { get; init; }