Class TensorRtRuntimeCreateDiagnosticSnapshot
- Namespace
- JYPPX.TensorRtSharp
- Assembly
- JYPPX.TensorRtSharp.dll
Copied no-throw diagnostic snapshot for TensorRT 11 runtime creation. TensorRT 11 runtime 创建过程的复制型 no-throw 诊断快照。
public sealed class TensorRtRuntimeCreateDiagnosticSnapshot
- Inheritance
-
TensorRtRuntimeCreateDiagnosticSnapshot
- Inherited Members
Properties
Attempted
Gets whether the bridge attempted to call createInferRuntime.
获取 bridge 是否尝试调用 createInferRuntime。
public bool Attempted { get; }
Property Value
BridgeBuiltMajor
Gets the TensorRT major version used to build the native bridge. 获取 native bridge 构建时使用的 TensorRT 主版本。
public int BridgeBuiltMajor { get; }
Property Value
CanPromoteRuntimeProof
Gets whether this diagnostic can promote runtime proof. 获取该诊断是否能提升 runtime proof。
public bool CanPromoteRuntimeProof { get; }
Property Value
CreateInferRuntimeReturnedNonNull
Gets whether createInferRuntime returned a non-null runtime.
获取 createInferRuntime 是否返回了非空 runtime。
public bool CreateInferRuntimeReturnedNonNull { get; }
Property Value
CreateInferRuntimeReturnedNull
Gets whether createInferRuntime returned null.
获取 createInferRuntime 是否返回 null。
public bool CreateInferRuntimeReturnedNull { get; }
Property Value
CreateRuntimePhase
Gets the native diagnostic phase reached by the createInferRuntime attempt. 获取 createInferRuntime 尝试到达的 native 诊断阶段。
public string CreateRuntimePhase { get; }
Property Value
DetectedVersion
Gets the copied TensorRT version text compiled into the native bridge. 获取 native bridge 编译进来的 TensorRT 版本文本副本。
public string DetectedVersion { get; }
Property Value
Diagnostic
Gets a copied diagnostic message. No runtime or logger pointer is exposed. 获取复制出的诊断消息;不会暴露 runtime 或 logger 指针。
public string Diagnostic { get; }
Property Value
DiagnosticAvailable
Gets whether the native diagnostic entry was available and returned a copied snapshot. 获取 native 诊断入口是否可用并返回了复制快照。
public bool DiagnosticAvailable { get; }
Property Value
ExpectedMajor
Gets the expected TensorRT major version for this diagnostic. 获取该诊断期望的 TensorRT 主版本。
public int ExpectedMajor { get; }
Property Value
ExposesNativePointer
Gets whether this diagnostic exposes native pointers. 获取该诊断是否暴露 native 指针。
public bool ExposesNativePointer { get; }
Property Value
IsPackageConsumerRuntimeProof
Gets whether this diagnostic is public package-consumer runtime proof. 获取该诊断是否为公开 package-consumer runtime proof。
public bool IsPackageConsumerRuntimeProof { get; }
Property Value
LastLoggerMessage
Gets the last copied TensorRT logger message observed by the native logger. 获取 native logger 复制出的最后一条 TensorRT logger 消息。
public string LastLoggerMessage { get; }
Property Value
LastLoggerSeverity
Gets the last TensorRT logger severity observed by the native logger. 获取 native logger 观察到的最后一条 TensorRT logger severity。
public int LastLoggerSeverity { get; }
Property Value
LastStatus
Gets the copied native bridge status from the diagnostic attempt. 获取诊断尝试复制出的 native bridge 状态。
public BridgeStatusCode LastStatus { get; }
Property Value
Line
Gets the TensorRT API line used to collect this snapshot. 获取采集该快照的 TensorRT API line。
public TensorRtApiLine Line { get; }
Property Value
LoggerCallbackAvailable
Gets whether the native logger payload had a managed callback installed. 获取 native logger payload 是否安装了托管回调。
public bool LoggerCallbackAvailable { get; }
Property Value
LoggerHandlePresent
Gets whether a logger handle was passed into the diagnostic entry. 获取是否向诊断入口传入了 logger handle。
public bool LoggerHandlePresent { get; }
Property Value
LoggerMessageCount
Gets the number of TensorRT logger messages observed during diagnostic runtime creation. 获取诊断 runtime 创建期间捕获到的 TensorRT logger 消息数量。
public uint LoggerMessageCount { get; }
Property Value
LoggerPayloadPresent
Gets whether the logger handle contained a native logger payload. 获取 logger handle 是否包含 native logger payload。
public bool LoggerPayloadPresent { get; }
Property Value
NativeDetail
Gets copied native detail about the runtime creation attempt. 获取 runtime 创建尝试的 native 细节副本。
public string NativeDetail { get; }
Property Value
TensorRtAvailable
Gets whether this native bridge was compiled with TensorRT support. 获取该 native bridge 是否编译了 TensorRT 支持。
public bool TensorRtAvailable { get; }
Property Value
Methods
ToString()
Converts the snapshot to a compact diagnostic string. 将快照转换为简短诊断字符串。
public override string ToString()
Returns
- string
A compact diagnostic string. 简短诊断字符串。