Class GpuBridgeInfo
- Namespace
- Orleans.GpuBridge.Abstractions
- Assembly
- Orleans.GpuBridge.Abstractions.dll
Information about the GPU bridge
public sealed record GpuBridgeInfo : IEquatable<GpuBridgeInfo>
- Inheritance
-
GpuBridgeInfo
- Implements
- Inherited Members
Constructors
GpuBridgeInfo(string, int, long, GpuBackend, bool, IReadOnlyDictionary<string, object>?)
Information about the GPU bridge
public GpuBridgeInfo(string Version, int DeviceCount, long TotalMemoryBytes, GpuBackend Backend, bool IsGpuAvailable, IReadOnlyDictionary<string, object>? Metadata = null)
Parameters
VersionstringDeviceCountintTotalMemoryByteslongBackendGpuBackendIsGpuAvailableboolMetadataIReadOnlyDictionary<string, object>
Properties
Backend
public GpuBackend Backend { get; init; }
Property Value
DeviceCount
public int DeviceCount { get; init; }
Property Value
IsGpuAvailable
public bool IsGpuAvailable { get; init; }
Property Value
Metadata
public IReadOnlyDictionary<string, object>? Metadata { get; init; }
Property Value
TotalMemoryBytes
public long TotalMemoryBytes { get; init; }
Property Value
Version
public string Version { get; init; }