Table of Contents

Class BridgeRuntimeInfo

Namespace
JYPPX.Shared.Interop
Assembly
JYPPX.Shared.dll

Runtime-facing bridge state reported by the native layer. 原生层报告的面向运行时的 bridge 状态。

public sealed class BridgeRuntimeInfo
Inheritance
BridgeRuntimeInfo
Inherited Members

Constructors

BridgeRuntimeInfo(int, string, string, string, BridgeErrorCategory, bool, bool)

Creates a bridge runtime-information snapshot. 创建 bridge 运行时信息快照。

public BridgeRuntimeInfo(int abiVersion, string bridgeName, string bridgeBanner, string lastErrorMessage, BridgeErrorCategory lastErrorCategory, bool cudaToolkitAvailable, bool tensorRtAvailable)

Parameters

abiVersion int
bridgeName string
bridgeBanner string
lastErrorMessage string
lastErrorCategory BridgeErrorCategory
cudaToolkitAvailable bool
tensorRtAvailable bool

Properties

AbiVersion

Gets the native bridge ABI version. 获取原生 bridge ABI 版本。

public int AbiVersion { get; }

Property Value

int

BridgeBanner

Gets the bridge banner string. 获取 bridge banner 字符串。

public string BridgeBanner { get; }

Property Value

string

BridgeName

Gets the logical bridge name. 获取逻辑 bridge 名称。

public string BridgeName { get; }

Property Value

string

CudaToolkitAvailable

Gets whether CUDA toolkit dependencies are currently available. 获取当前 CUDA toolkit 依赖是否可用。

public bool CudaToolkitAvailable { get; }

Property Value

bool

LastErrorCategory

Gets the category of the last bridge error. 获取最近一次 bridge 错误所属类别。

public BridgeErrorCategory LastErrorCategory { get; }

Property Value

BridgeErrorCategory

LastErrorMessage

Gets the last bridge error message. 获取最近一次 bridge 错误消息。

public string LastErrorMessage { get; }

Property Value

string

TensorRtAvailable

Gets whether TensorRT dependencies are currently available. 获取当前 TensorRT 依赖是否可用。

public bool TensorRtAvailable { get; }

Property Value

bool