Class TensorRtCallbackAllocatorReadiness
- Namespace
- JYPPX.TensorRtSharp
- Assembly
- JYPPX.TensorRtSharp.dll
Aggregates managed callback and allocator readiness evidence without invoking TensorRT or exposing native pointers. 聚合托管 callback 与 allocator readiness 证据;不会调用 TensorRT,也不会暴露 native pointer。
public static class TensorRtCallbackAllocatorReadiness
- Inheritance
-
TensorRtCallbackAllocatorReadiness
- Inherited Members
Remarks
This helper consumes existing copied gate and precheck results. It is a release-readiness summary for managed surfaces, not proof that TensorRT has invoked allocator, output allocator, or debug listener callbacks. 该工具只消费已有的复制式 gate / precheck 结果;它是 managed surface 的发布 readiness 摘要, 不是 TensorRT 已真实触发 allocator、output allocator 或 debug listener callback 的证明。
Methods
Evaluate(TensorRtAllocatorLedgerSafetyGateResult, TensorRtOutputAllocatorRuntimeProofPrecheckResult, TensorRtDebugListenerRuntimeProofPrecheckResult, bool, bool, bool)
Aggregates callback and allocator readiness from copied gate and precheck evidence. 从复制式 gate 与 precheck 证据聚合 callback / allocator readiness。
public static TensorRtCallbackAllocatorReadinessSnapshot Evaluate(TensorRtAllocatorLedgerSafetyGateResult allocatorLedgerSafetyGate, TensorRtOutputAllocatorRuntimeProofPrecheckResult outputAllocatorRuntimeProofPrecheck, TensorRtDebugListenerRuntimeProofPrecheckResult debugListenerRuntimeProofPrecheck, bool loggerCallbackReady = true, bool profilerCallbackReady = true, bool progressMonitorCallbackReady = true)
Parameters
allocatorLedgerSafetyGateTensorRtAllocatorLedgerSafetyGateResultCopied allocator ledger safety gate evidence. 复制出的 allocator ledger 安全门禁证据。
outputAllocatorRuntimeProofPrecheckTensorRtOutputAllocatorRuntimeProofPrecheckResultCopied OutputAllocator runtime proof precheck evidence. 复制出的 OutputAllocator runtime proof precheck 证据。
debugListenerRuntimeProofPrecheckTensorRtDebugListenerRuntimeProofPrecheckResultCopied DebugListener runtime proof precheck evidence. 复制出的 DebugListener runtime proof precheck 证据。
loggerCallbackReadyboolWhether the managed logger callback wrapper is available. managed logger callback wrapper 是否可用。
profilerCallbackReadyboolWhether the managed profiler callback wrapper is available. managed profiler callback wrapper 是否可用。
progressMonitorCallbackReadyboolWhether the managed progress monitor callback wrapper is available. managed progress monitor callback wrapper 是否可用。
Returns
- TensorRtCallbackAllocatorReadinessSnapshot
A pointer-free readiness snapshot. 不暴露 pointer 的 readiness 快照。