Table of Contents

Class TensorRtDebugListenerNativeOwnerLifecycleGate

Namespace
JYPPX.TensorRtSharp
Assembly
JYPPX.TensorRtSharp.dll

Evaluates pointer-free DebugListener native owner lifecycle gate evidence before native attach is enabled. 该成员提供 DebugListener callback 安全边界的只读诊断信息;不能作为真实 TensorRT callback runtime proof。

public static class TensorRtDebugListenerNativeOwnerLifecycleGate
Inheritance
TensorRtDebugListenerNativeOwnerLifecycleGate
Inherited Members

Remarks

This lifecycle gate reports source-visible release/detach/drain/unpin scaffold diagnostics only. It does not create a native owner, does not call setDebugListener(non-null), and is not proof that TensorRT invoked IDebugListener::processDebugTensor. 该说明强调当前结果属于 DebugListener 安全门禁或 precheck,不代表 TensorRT 已真实触发 callback。

Methods

Evaluate(TensorRtDebugListenerCallbackOwnerSnapshot)

Evaluates native owner lifecycle gate evidence from a copied DebugListener owner design snapshot. 该成员提供 DebugListener callback 安全边界的只读诊断信息;不能作为真实 TensorRT callback runtime proof。

public static TensorRtDebugListenerNativeOwnerLifecycleGateResult Evaluate(TensorRtDebugListenerCallbackOwnerSnapshot ownerDesignSnapshot)

Parameters

ownerDesignSnapshot TensorRtDebugListenerCallbackOwnerSnapshot

The copied DebugListener owner design snapshot. 该参数传入已复制的 DebugListener 安全门禁或 owner snapshot evidence。

Returns

TensorRtDebugListenerNativeOwnerLifecycleGateResult

A pointer-free native owner lifecycle gate result. 返回不暴露 native 指针的 pointer-free 诊断结果。

Evaluate(TensorRtDebugListenerCallbackOwnerSnapshot, TensorRtDebugListenerNativeNoThrowDestructorResult)

Evaluates native owner lifecycle gate evidence from copied owner and no-throw destructor evidence. 该成员提供 DebugListener callback 安全边界的只读诊断信息;不能作为真实 TensorRT callback runtime proof。

public static TensorRtDebugListenerNativeOwnerLifecycleGateResult Evaluate(TensorRtDebugListenerCallbackOwnerSnapshot ownerDesignSnapshot, TensorRtDebugListenerNativeNoThrowDestructorResult nativeNoThrowDestructor)

Parameters

ownerDesignSnapshot TensorRtDebugListenerCallbackOwnerSnapshot

The copied DebugListener owner design snapshot. 该参数传入已复制的 DebugListener 安全门禁或 owner snapshot evidence。

nativeNoThrowDestructor TensorRtDebugListenerNativeNoThrowDestructorResult

The copied native no-throw destructor result. 该参数传入已复制的 DebugListener 安全门禁或 owner snapshot evidence。

Returns

TensorRtDebugListenerNativeOwnerLifecycleGateResult

A pointer-free native owner lifecycle gate result. 返回不暴露 native 指针的 pointer-free 诊断结果。