Table of Contents

Class TensorRtOutputAllocatorRuntimeProofPrecheck

Namespace
JYPPX.TensorRtSharp
Assembly
JYPPX.TensorRtSharp.dll

Evaluates whether the OutputAllocator owner design snapshot is ready for the next real callback runtime proof stage. 该成员提供 OutputAllocator callback 安全边界的只读诊断信息;不会暴露 native output buffer 指针。

public static class TensorRtOutputAllocatorRuntimeProofPrecheck
Inheritance
TensorRtOutputAllocatorRuntimeProofPrecheck
Inherited Members

Remarks

This precheck consumes copied diagnostics only. It does not attach an output allocator to TensorRT, does not expose an output buffer or device pointer, and does not prove that IOutputAllocator::notifyShape or IOutputAllocator::reallocateOutput has been invoked by a real TensorRT build/enqueue path. 该说明强调当前结果只是 OutputAllocator 安全门禁或 precheck,不代表真实 TensorRT callback runtime proof。

Methods

Evaluate(TensorRtOutputAllocatorCallbackOwnerSnapshot)

Evaluates the current OutputAllocator runtime proof precheck from a copied owner design snapshot. 该成员提供 OutputAllocator callback 安全边界的只读诊断信息;不会暴露 native output buffer 指针。

public static TensorRtOutputAllocatorRuntimeProofPrecheckResult Evaluate(TensorRtOutputAllocatorCallbackOwnerSnapshot ownerDesignSnapshot)

Parameters

ownerDesignSnapshot TensorRtOutputAllocatorCallbackOwnerSnapshot

The copied OutputAllocator owner design snapshot. 该参数传入已复制的 OutputAllocator owner、gate 或 runtime proof precheck evidence。

Returns

TensorRtOutputAllocatorRuntimeProofPrecheckResult

A pointer-free precheck result. 返回不暴露 native output buffer 指针的 pointer-free 诊断结果。

Evaluate(TensorRtOutputAllocatorCallbackOwnerSnapshot, TensorRtOutputAllocatorAttachDetachDesignGateResult)

Evaluates the current OutputAllocator runtime proof precheck from copied owner and attach/detach design evidence. 该成员提供 OutputAllocator callback 安全边界的只读诊断信息;不会暴露 native output buffer 指针。

public static TensorRtOutputAllocatorRuntimeProofPrecheckResult Evaluate(TensorRtOutputAllocatorCallbackOwnerSnapshot ownerDesignSnapshot, TensorRtOutputAllocatorAttachDetachDesignGateResult attachDetachDesignGate)

Parameters

ownerDesignSnapshot TensorRtOutputAllocatorCallbackOwnerSnapshot

The copied OutputAllocator owner design snapshot. 该参数传入已复制的 OutputAllocator owner、gate 或 runtime proof precheck evidence。

attachDetachDesignGate TensorRtOutputAllocatorAttachDetachDesignGateResult

The copied attach/detach design gate result. 该参数传入已复制的 OutputAllocator owner、gate 或 runtime proof precheck evidence。

Returns

TensorRtOutputAllocatorRuntimeProofPrecheckResult

A pointer-free precheck result. 返回不暴露 native output buffer 指针的 pointer-free 诊断结果。

Evaluate(TensorRtOutputAllocatorCallbackOwnerSnapshot, TensorRtOutputAllocatorAttachDetachDesignGateResult, TensorRtOutputBufferOwnershipSafetyGateResult)

Evaluates the current OutputAllocator runtime proof precheck from copied owner, attach/detach, and ownership safety evidence. 该成员提供 OutputAllocator callback 安全边界的只读诊断信息;不会暴露 native output buffer 指针。

public static TensorRtOutputAllocatorRuntimeProofPrecheckResult Evaluate(TensorRtOutputAllocatorCallbackOwnerSnapshot ownerDesignSnapshot, TensorRtOutputAllocatorAttachDetachDesignGateResult attachDetachDesignGate, TensorRtOutputBufferOwnershipSafetyGateResult outputBufferOwnershipSafetyGate)

Parameters

ownerDesignSnapshot TensorRtOutputAllocatorCallbackOwnerSnapshot

The copied OutputAllocator owner design snapshot. 该参数传入已复制的 OutputAllocator owner、gate 或 runtime proof precheck evidence。

attachDetachDesignGate TensorRtOutputAllocatorAttachDetachDesignGateResult

The copied attach/detach design gate result. 该参数传入已复制的 OutputAllocator owner、gate 或 runtime proof precheck evidence。

outputBufferOwnershipSafetyGate TensorRtOutputBufferOwnershipSafetyGateResult

The copied output-buffer ownership safety gate result. 该参数传入已复制的 OutputAllocator owner、gate 或 runtime proof precheck evidence。

Returns

TensorRtOutputAllocatorRuntimeProofPrecheckResult

A pointer-free precheck result. 返回不暴露 native output buffer 指针的 pointer-free 诊断结果。