Table of Contents

Class GpuPlacementStrategy

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

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

GpuPlacementStrategy

MinimumGpuMemoryMB

Gets or sets the minimum GPU memory required in MB

[Id(1)]
public int MinimumGpuMemoryMB { get; init; }

Property Value

int

PreferLocalPlacement

Gets or sets whether to prefer placing grains on the local silo

[Id(0)]
public bool PreferLocalPlacement { get; init; }

Property Value

bool