Class P2PCapabilityInfo
- Namespace
- Orleans.GpuBridge.Abstractions.K2K
- Assembly
- Orleans.GpuBridge.Abstractions.dll
Detailed information about P2P capabilities between two devices.
public sealed record P2PCapabilityInfo : IEquatable<P2PCapabilityInfo>
- Inheritance
-
P2PCapabilityInfo
- Implements
- Inherited Members
Constructors
P2PCapabilityInfo(int, int, bool, bool, P2PAccessType, double, double, bool, bool)
Detailed information about P2P capabilities between two devices.
public P2PCapabilityInfo(int SourceDeviceId, int TargetDeviceId, bool IsSupported, bool IsEnabled, P2PAccessType AccessType, double EstimatedBandwidthGBps, double EstimatedLatencyNs, bool AtomicsSupported, bool NativeAtomicsSupported)
Parameters
SourceDeviceIdintSource GPU device ID.
TargetDeviceIdintTarget GPU device ID.
IsSupportedboolWhether P2P is supported.
IsEnabledboolWhether P2P is currently enabled.
AccessTypeP2PAccessTypeThe type of P2P access available.
EstimatedBandwidthGBpsdoubleEstimated bandwidth in GB/s.
EstimatedLatencyNsdoubleEstimated latency in nanoseconds.
AtomicsSupportedboolWhether atomic operations are supported over P2P.
NativeAtomicsSupportedboolWhether native (non-emulated) atomics are supported.
Properties
AccessType
The type of P2P access available.
public P2PAccessType AccessType { get; init; }
Property Value
AtomicsSupported
Whether atomic operations are supported over P2P.
public bool AtomicsSupported { get; init; }
Property Value
EstimatedBandwidthGBps
Estimated bandwidth in GB/s.
public double EstimatedBandwidthGBps { get; init; }
Property Value
EstimatedLatencyNs
Estimated latency in nanoseconds.
public double EstimatedLatencyNs { get; init; }
Property Value
IsEnabled
Whether P2P is currently enabled.
public bool IsEnabled { get; init; }
Property Value
IsSupported
Whether P2P is supported.
public bool IsSupported { get; init; }
Property Value
NativeAtomicsSupported
Whether native (non-emulated) atomics are supported.
public bool NativeAtomicsSupported { get; init; }
Property Value
SourceDeviceId
Source GPU device ID.
public int SourceDeviceId { get; init; }
Property Value
TargetDeviceId
Target GPU device ID.
public int TargetDeviceId { get; init; }