Class BridgeBuildInfo
Build-time metadata reported by the native bridge. 原生 bridge 报告的构建期元数据。
public sealed class BridgeBuildInfo
- Inheritance
-
BridgeBuildInfo
- Inherited Members
Constructors
BridgeBuildInfo(int, int, int, int, string, string, string, string, string, string, string, string, string, bool, bool, bool, bool)
Creates a bridge build-information snapshot. 创建 bridge 构建信息快照。
public BridgeBuildInfo(int abiVersion, int bridgeVersionMajor, int bridgeVersionMinor, int bridgeVersionPatch, string bridgeName, string bridgeBanner, string compilerId, string compilerVersion, string systemName, string systemProcessor, string buildConfiguration, string cudaToolkitVersion, string tensorRtVersion, bool hasCudaToolkit, bool hasTensorRt, bool cudaBindingsEnabled, bool tensorRtBindingsEnabled)
Parameters
abiVersionintbridgeVersionMajorintbridgeVersionMinorintbridgeVersionPatchintbridgeNamestringbridgeBannerstringcompilerIdstringcompilerVersionstringsystemNamestringsystemProcessorstringbuildConfigurationstringcudaToolkitVersionstringtensorRtVersionstringhasCudaToolkitboolhasTensorRtboolcudaBindingsEnabledbooltensorRtBindingsEnabledbool
Properties
AbiVersion
Gets the native bridge ABI version. 获取原生 bridge ABI 版本。
public int AbiVersion { get; }
Property Value
BridgeBanner
Gets the bridge banner string. 获取 bridge banner 字符串。
public string BridgeBanner { get; }
Property Value
BridgeName
Gets the logical bridge name. 获取逻辑 bridge 名称。
public string BridgeName { get; }
Property Value
BridgeVersionMajor
Gets the bridge semantic-version major component. 获取 bridge 语义版本的主版本号。
public int BridgeVersionMajor { get; }
Property Value
BridgeVersionMinor
Gets the bridge semantic-version minor component. 获取 bridge 语义版本的次版本号。
public int BridgeVersionMinor { get; }
Property Value
BridgeVersionPatch
Gets the bridge semantic-version patch component. 获取 bridge 语义版本的补丁号。
public int BridgeVersionPatch { get; }
Property Value
BuildConfiguration
Gets the build configuration, such as Debug or Release. 获取构建配置,例如 Debug 或 Release。
public string BuildConfiguration { get; }
Property Value
CompilerId
Gets the compiler identifier used to build the bridge. 获取构建 bridge 时使用的编译器标识。
public string CompilerId { get; }
Property Value
CompilerVersion
Gets the compiler version used to build the bridge. 获取构建 bridge 时使用的编译器版本。
public string CompilerVersion { get; }
Property Value
CudaBindingsEnabled
Gets whether CUDA managed bindings were emitted. 获取是否生成了 CUDA 托管绑定。
public bool CudaBindingsEnabled { get; }
Property Value
CudaToolkitVersion
Gets the CUDA toolkit version used for the bridge build. 获取构建 bridge 时使用的 CUDA toolkit 版本。
public string CudaToolkitVersion { get; }
Property Value
HasCudaToolkit
Gets whether CUDA toolkit support was enabled for the bridge build. 获取 bridge 构建时是否启用了 CUDA toolkit 支持。
public bool HasCudaToolkit { get; }
Property Value
HasTensorRt
Gets whether TensorRT support was enabled for the bridge build. 获取 bridge 构建时是否启用了 TensorRT 支持。
public bool HasTensorRt { get; }
Property Value
SystemName
Gets the operating system name used for the bridge build. 获取构建 bridge 时使用的操作系统名称。
public string SystemName { get; }
Property Value
SystemProcessor
Gets the target processor string used for the bridge build. 获取构建 bridge 时使用的目标处理器字符串。
public string SystemProcessor { get; }
Property Value
TensorRtBindingsEnabled
Gets whether TensorRT managed bindings were emitted. 获取是否生成了 TensorRT 托管绑定。
public bool TensorRtBindingsEnabled { get; }
Property Value
TensorRtVersion
Gets the TensorRT version used for the bridge build. 获取构建 bridge 时使用的 TensorRT 版本。
public string TensorRtVersion { get; }