Table of Contents

Class TensorRtRuntimeDeserializationDependencyDiagnostics

Namespace
JYPPX.TensorRtSharp
Assembly
JYPPX.TensorRtSharp.dll

Evaluates dependency diagnostics for TensorRT runtime deserialization without promoting runtime proof. 评估 TensorRT runtime deserialization 的依赖诊断边界,但不提升 runtime proof。

public static class TensorRtRuntimeDeserializationDependencyDiagnostics
Inheritance
TensorRtRuntimeDeserializationDependencyDiagnostics
Inherited Members

Remarks

This diagnostic layer consumes the pointer-free managed deserialization precheck and package-consumer classification facts. It does not load plugin host code, does not call IRuntime::loadRuntime, and does not expose native runtime, engine, plugin, or creator pointers. 该诊断层消费无裸指针的托管反序列化预检和 package-consumer 分类事实;不会加载 plugin host code, 不会调用 IRuntime::loadRuntime,也不会暴露 native runtime、engine、plugin 或 creator 指针。

Methods

Evaluate(TensorRtRuntimeDeserializationBoundaryPrecheckResult, bool, bool, string?, bool, bool)

Evaluates dependency diagnostics from explicit package-consumer classification facts. 根据显式 package-consumer 分类事实评估依赖诊断。

public static TensorRtRuntimeDeserializationDependencyDiagnosticsResult Evaluate(TensorRtRuntimeDeserializationBoundaryPrecheckResult precheck, bool fullPackageConsumerReportPresent, bool fullPackageConsumerSmokeRequested, string? fullPackageConsumerSmokeResult, bool dependencyProbeOnly, bool blockedByCudaDriver)

Parameters

precheck TensorRtRuntimeDeserializationBoundaryPrecheckResult

The runtime deserialization boundary precheck result. runtime deserialization 边界预检结果。

fullPackageConsumerReportPresent bool

Whether a full package consumer report is present. 是否存在 full package consumer report。

fullPackageConsumerSmokeRequested bool

Whether full package consumer smoke was requested. 是否请求过 full package consumer smoke。

fullPackageConsumerSmokeResult string

The full package consumer smoke result. full package consumer smoke 结果。

dependencyProbeOnly bool

Whether the available evidence is dependency-probe only. 当前证据是否仅为 dependency-probe。

blockedByCudaDriver bool

Whether the smoke reached CUDA and was blocked by driver/runtime compatibility. smoke 是否到达 CUDA 后被 driver/runtime 兼容性阻塞。

Returns

TensorRtRuntimeDeserializationDependencyDiagnosticsResult

A pointer-free dependency diagnostics result. 无裸指针依赖诊断结果。

EvaluateKnownSurface(TensorRtApiLine)

Evaluates the known dependency diagnostic shape for a TensorRT API line. 基于已知 public surface 评估指定 TensorRT API line 的依赖诊断形态。

public static TensorRtRuntimeDeserializationDependencyDiagnosticsResult EvaluateKnownSurface(TensorRtApiLine line)

Parameters

line TensorRtApiLine

The TensorRT API line. TensorRT API 版本线。

Returns

TensorRtRuntimeDeserializationDependencyDiagnosticsResult

A pointer-free dependency diagnostics result. 无裸指针依赖诊断结果。