Class BridgeCapabilityInfo
Capability flags surfaced by the native bridge. 原生 bridge 暴露出的能力标志集合。
public sealed class BridgeCapabilityInfo
- Inheritance
-
BridgeCapabilityInfo
- Inherited Members
Constructors
BridgeCapabilityInfo(bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool)
Creates a bridge capability snapshot. 创建 bridge 能力快照。
public BridgeCapabilityInfo(bool supportsTrt8Adapter, bool supportsTrt10Adapter, bool supportsTrt11Adapter, bool supportsTrt8RuntimeCreation, bool supportsTrt10RuntimeCreation, bool supportsTrt11RuntimeCreation, bool supportsTrt8BuilderCreation, bool supportsTrt10BuilderCreation, bool supportsTrt11BuilderCreation, bool supportsLastErrorQuery, bool supportsBuildInfoQuery, bool supportsRuntimeInfoQuery)
Parameters
supportsTrt8AdapterboolsupportsTrt10AdapterboolsupportsTrt11AdapterboolsupportsTrt8RuntimeCreationboolsupportsTrt10RuntimeCreationboolsupportsTrt11RuntimeCreationboolsupportsTrt8BuilderCreationboolsupportsTrt10BuilderCreationboolsupportsTrt11BuilderCreationboolsupportsLastErrorQueryboolsupportsBuildInfoQueryboolsupportsRuntimeInfoQuerybool
Properties
SupportsBuildInfoQuery
Gets whether bridge build-info querying is supported. 获取是否支持 bridge 构建信息查询。
public bool SupportsBuildInfoQuery { get; }
Property Value
SupportsLastErrorQuery
Gets whether bridge last-error querying is supported. 获取是否支持 bridge 最近错误查询。
public bool SupportsLastErrorQuery { get; }
Property Value
SupportsRuntimeInfoQuery
Gets whether bridge runtime-info querying is supported. 获取是否支持 bridge 运行时信息查询。
public bool SupportsRuntimeInfoQuery { get; }
Property Value
SupportsTrt10Adapter
Gets whether the bridge exposes a TensorRT 10 adapter line. 获取 bridge 是否暴露 TensorRT 10 适配线。
public bool SupportsTrt10Adapter { get; }
Property Value
SupportsTrt10BuilderCreation
Gets whether TensorRT 10 builder creation is supported. 获取是否支持创建 TensorRT 10 builder。
public bool SupportsTrt10BuilderCreation { get; }
Property Value
SupportsTrt10RuntimeCreation
Gets whether TensorRT 10 runtime creation is supported. 获取是否支持创建 TensorRT 10 runtime。
public bool SupportsTrt10RuntimeCreation { get; }
Property Value
SupportsTrt11Adapter
Gets whether the bridge exposes a TensorRT 11 adapter line. 获取 bridge 是否暴露 TensorRT 11 适配线。
public bool SupportsTrt11Adapter { get; }
Property Value
SupportsTrt11BuilderCreation
Gets whether TensorRT 11 builder creation is supported. 获取是否支持创建 TensorRT 11 builder。
public bool SupportsTrt11BuilderCreation { get; }
Property Value
SupportsTrt11RuntimeCreation
Gets whether TensorRT 11 runtime creation is supported. 获取是否支持创建 TensorRT 11 runtime。
public bool SupportsTrt11RuntimeCreation { get; }
Property Value
SupportsTrt8Adapter
Gets whether the bridge exposes a TensorRT 8 adapter line. 获取 bridge 是否暴露 TensorRT 8 适配线。
public bool SupportsTrt8Adapter { get; }
Property Value
SupportsTrt8BuilderCreation
Gets whether TensorRT 8 builder creation is supported. 获取是否支持创建 TensorRT 8 builder。
public bool SupportsTrt8BuilderCreation { get; }
Property Value
SupportsTrt8RuntimeCreation
Gets whether TensorRT 8 runtime creation is supported. 获取是否支持创建 TensorRT 8 runtime。
public bool SupportsTrt8RuntimeCreation { get; }