Struct TensorRtRuntimeDeserializationBoundaryPrecheckResult
- Namespace
- JYPPX.TensorRtSharp
- Assembly
- JYPPX.TensorRtSharp.dll
Reports runtime deserialization boundary status without exposing native engine pointers. 报告 runtime deserialization 边界状态,不暴露原生 engine 指针。
public readonly struct TensorRtRuntimeDeserializationBoundaryPrecheckResult
- Inherited Members
Remarks
This result is a runtime precheck. It keeps direct IRuntime::deserializeCudaEngineV2
and IRuntime::loadRuntime rows deferred until dependency diagnostics, ownership, and
full package consumer runtime proof exist.
该结果是 runtime precheck;在 dependency diagnostics、ownership 和完整 package consumer runtime proof
出现前,direct IRuntime::deserializeCudaEngineV2 与 IRuntime::loadRuntime 行继续 deferred。
Properties
BlockedPrerequisiteCount
Gets the copied blocked prerequisite count. 获取已复制阻塞前置项数量。
public int BlockedPrerequisiteCount { get; }
Property Value
BlockedPrerequisites
Gets copied blocked prerequisites. 获取已复制的阻塞前置项。
public ReadOnlyCollection<string> BlockedPrerequisites { get; }
Property Value
BorrowedSerializedBufferEscaped
Gets whether a caller-owned serialized buffer can escape this public surface. 获取调用方 serialized buffer 是否可能逃逸 public surface。
public bool BorrowedSerializedBufferEscaped { get; }
Property Value
CanAttemptRuntimeProof
Gets whether this precheck can attempt runtime proof. 获取该预检是否可尝试 runtime proof。
public bool CanAttemptRuntimeProof { get; }
Property Value
CanPromoteRuntimeProof
Gets whether this result can be promoted as runtime proof. 获取该结果是否可晋级为 runtime proof。
public bool CanPromoteRuntimeProof { get; }
Property Value
CanPromoteWithoutRuntimeProof
Gets whether this precheck can be promoted without runtime proof. 获取该预检是否可在无 runtime proof 情况下晋级。
public bool CanPromoteWithoutRuntimeProof { get; }
Property Value
DeferredRowsStillRequired
Gets whether direct deferred rows are still required. 获取 direct deferred 行是否仍必须保留。
public bool DeferredRowsStillRequired { get; }
Property Value
Diagnostic
Gets a compact diagnostic summary. 获取简短诊断摘要。
public string Diagnostic { get; }
Property Value
DiagnosticsKind
Gets the diagnostics kind represented by this precheck. 获取该预检代表的诊断类型。
public string DiagnosticsKind { get; }
Property Value
DirectDeserializeCudaEngineRowsDeferred
Gets whether direct IRuntime::deserializeCudaEngine rows intentionally remain deferred. 获取 direct IRuntime::deserializeCudaEngine 行是否继续 deferred。
public bool DirectDeserializeCudaEngineRowsDeferred { get; }
Property Value
DirectDeserializeCudaEngineRowsImplemented
Gets whether direct IRuntime::deserializeCudaEngine is covered by the scoped-buffer bridge. 获取 direct IRuntime::deserializeCudaEngine 是否已由调用期 buffer bridge 覆盖。
public bool DirectDeserializeCudaEngineRowsImplemented { get; }
Property Value
DirectDeserializeCudaEngineV2RowsDeferred
Gets whether direct IRuntime::deserializeCudaEngineV2 rows intentionally remain deferred where present. 获取存在时 direct IRuntime::deserializeCudaEngineV2 行是否继续 deferred。
public bool DirectDeserializeCudaEngineV2RowsDeferred { get; }
Property Value
EngineHandleOwnedByWrapper
Gets whether returned engine handles are owned by managed wrappers. 获取返回 engine handle 是否由 managed wrapper 管理。
public bool EngineHandleOwnedByWrapper { get; }
Property Value
EnginePointerExposed
Gets whether this public surface exposes a native engine pointer. 获取 public surface 是否暴露 native engine 指针。
public bool EnginePointerExposed { get; }
Property Value
EnginePointerProduced
Gets whether this precheck produces a native engine pointer for callers. 获取该预检是否向调用方产生 native engine 指针。
public bool EnginePointerProduced { get; }
Property Value
EvidenceKind
Gets the marker used by readiness to identify this precheck. 获取该预检的证据标记。
public string EvidenceKind { get; }
Property Value
FullPackageConsumerRuntimeEvidenceReady
Gets whether a full package consumer runtime proof is ready. 获取完整 package consumer runtime proof 是否就绪。
public bool FullPackageConsumerRuntimeEvidenceReady { get; }
Property Value
HostMemoryDeserializeReady
Gets whether TensorRT host-memory deserialization is available. 获取 TensorRT host memory 反序列化是否可用。
public bool HostMemoryDeserializeReady { get; }
Property Value
HostMemoryHandleOwnedByWrapper
Gets whether host-memory handles are owned by managed wrappers. 获取 host memory handle 是否由 managed wrapper 管理。
public bool HostMemoryHandleOwnedByWrapper { get; }
Property Value
IsRuntimeExecutionEvidence
Gets whether this precheck is runtime execution evidence. 获取该预检是否为 runtime execution evidence。
public bool IsRuntimeExecutionEvidence { get; }
Property Value
IsRuntimeExecutionProof
Gets whether this precheck may be promoted as runtime execution proof. 获取该预检是否可晋级为 runtime execution proof。
public bool IsRuntimeExecutionProof { get; }
Property Value
Line
Gets the TensorRT API line. 获取 TensorRT API line。
public TensorRtApiLine Line { get; }
Property Value
LineSupportsDeserializeCudaEngineV2
Gets whether the selected TensorRT line has deserializeCudaEngineV2 rows. 获取当前 TensorRT line 是否有 deserializeCudaEngineV2 行。
public bool LineSupportsDeserializeCudaEngineV2 { get; }
Property Value
LineSupportsRuntimeDeserialization
Gets whether the selected TensorRT line supports the runtime deserialization boundary. 获取当前 TensorRT line 是否支持 runtime deserialization 边界。
public bool LineSupportsRuntimeDeserialization { get; }
Property Value
LoadRuntimeDeferred
Gets whether IRuntime::loadRuntime intentionally remains deferred. 获取 IRuntime::loadRuntime 是否继续 deferred。
public bool LoadRuntimeDeferred { get; }
Property Value
ManagedArraySegmentDeserializeReady
Gets whether managed ArraySegment deserialization copies into an exact array. 获取 managed ArraySegment 反序列化是否复制为精确数组。
public bool ManagedArraySegmentDeserializeReady { get; }
Property Value
ManagedByteArrayDeserializeReady
Gets whether managed byte-array deserialization is available. 获取 managed byte[] 反序列化是否可用。
public bool ManagedByteArrayDeserializeReady { get; }
Property Value
ManagedDeserializeSurfaceReady
Gets whether managed deserialization overloads are ready. 获取 managed deserialization overload 是否就绪。
public bool ManagedDeserializeSurfaceReady { get; }
Property Value
ManagedFileDeserializeReady
Gets whether managed file deserialization uses managed bytes. 获取 managed file 反序列化是否使用托管字节。
public bool ManagedFileDeserializeReady { get; }
Property Value
ManagedReadOnlySpanDeserializeReady
Gets whether managed ReadOnlySpan deserialization copies into managed memory. 获取 managed ReadOnlySpan 反序列化是否复制到托管内存。
public bool ManagedReadOnlySpanDeserializeReady { get; }
Property Value
ManagedStreamDeserializeReady
Gets whether managed stream deserialization copies into managed memory. 获取 managed stream 反序列化是否复制到托管内存。
public bool ManagedStreamDeserializeReady { get; }
Property Value
PinnedBufferScopedToInteropCall
Gets whether pinned managed buffers are scoped to the native call. 获取 pinned 托管 buffer 是否只在 native 调用期间有效。
public bool PinnedBufferScopedToInteropCall { get; }
Property Value
PluginLibraryDependencyDiagnosticsReady
Gets whether plugin/library dependency diagnostics are complete enough for promotion. 获取 plugin/library dependency 诊断是否足以晋级。
public bool PluginLibraryDependencyDiagnosticsReady { get; }
Property Value
PointerFreeSurfaceReady
Gets whether the public surface remains pointer-free. 获取 public surface 是否保持无裸指针。
public bool PointerFreeSurfaceReady { get; }
Property Value
PrecheckReady
Gets whether this precheck has enough source evidence to be considered ready. 获取该 precheck 的 source evidence 是否就绪。
public bool PrecheckReady { get; }
Property Value
RuntimeEvidenceKind
Gets the runtime evidence kind. 获取 runtime evidence 类型。
public string RuntimeEvidenceKind { get; }
Property Value
RuntimeProofBlocked
Gets whether runtime proof remains blocked. 获取 runtime proof 是否仍被阻塞。
public bool RuntimeProofBlocked { get; }
Property Value
SafeDeserializeBridgeReady
Gets whether the bridge owns returned handles and does not leak caller buffers. 获取 bridge 是否管理返回 handle 且不泄漏调用方 buffer。
public bool SafeDeserializeBridgeReady { get; }
Property Value
SerializedBufferCopiedBeforeInterop
Gets whether caller-owned buffers are copied before interop when needed. 获取必要时是否在 interop 前复制调用方 buffer。
public bool SerializedBufferCopiedBeforeInterop { get; }
Property Value
Status
Gets the precheck status. 获取预检状态。
public string Status { get; }
Property Value
Methods
ToString()
Returns a compact diagnostic representation. 返回简短诊断表示。
public override string ToString()
Returns
- string
A diagnostic string. 诊断字符串。