Table of Contents

Struct TensorRtOutputBufferOwnershipSafetyGateResult

Namespace
JYPPX.TensorRtSharp
Assembly
JYPPX.TensorRtSharp.dll

Reports copied OutputAllocator output-buffer ownership diagnostics without exposing native pointers. 该成员提供 OutputAllocator 输出缓冲区所有权边界的只读诊断信息;不会暴露 native 指针。

public readonly struct TensorRtOutputBufferOwnershipSafetyGateResult
Inherited Members

Remarks

This result is a safety gate. RealCallbackRuntime and IsRealCallbackRuntimeProof remain false until real TensorRT callback smoke proves IOutputAllocator::reallocateOutput ownership behavior. 该说明强调当前结果只是输出缓冲区所有权安全门禁,不代表真实 TensorRT callback runtime proof。

Properties

Alignment

Gets the copied requested output buffer alignment. 该成员提供 OutputAllocator 输出缓冲区所有权边界的只读诊断信息;不会暴露 native 指针。

public ulong Alignment { get; }

Property Value

ulong

AttachDetachDesignGateReady

Gets whether attach/detach design evidence was ready. 该成员提供 OutputAllocator 输出缓冲区所有权边界的只读诊断信息;不会暴露 native 指针。

public bool AttachDetachDesignGateReady { get; }

Property Value

bool

BlockedPrerequisiteCount

Gets the copied blocked prerequisite count. 该成员提供 OutputAllocator 输出缓冲区所有权边界的只读诊断信息;不会暴露 native 指针。

public int BlockedPrerequisiteCount { get; }

Property Value

int

BlockedPrerequisites

Gets copied blocked prerequisites. 该成员提供 OutputAllocator 输出缓冲区所有权边界的只读诊断信息;不会暴露 native 指针。

public ReadOnlyCollection<string> BlockedPrerequisites { get; }

Property Value

ReadOnlyCollection<string>

BorrowedPointerEscapeBlocked

Gets whether borrowed output buffer pointers are blocked from escaping public APIs. 该成员提供 OutputAllocator 输出缓冲区所有权边界的只读诊断信息;不会暴露 native 指针。

public bool BorrowedPointerEscapeBlocked { get; }

Property Value

bool

CallbackKind

Gets the callback kind represented by this safety gate. 该成员提供 OutputAllocator 输出缓冲区所有权边界的只读诊断信息;不会暴露 native 指针。

public string CallbackKind { get; }

Property Value

string

CanAttemptRuntimeProof

Gets whether all prerequisites are satisfied to attempt a real runtime proof. 该成员提供 OutputAllocator 输出缓冲区所有权边界的只读诊断信息;不会暴露 native 指针。

public bool CanAttemptRuntimeProof { get; }

Property Value

bool

CopiedCurrentMemoryMetadataReady

Gets whether copied currentMemory metadata is available without exposing the pointer value. 该成员提供 OutputAllocator 输出缓冲区所有权边界的只读诊断信息;不会暴露 native 指针。

public bool CopiedCurrentMemoryMetadataReady { get; }

Property Value

bool

CopiedRequestMetadataReady

Gets whether copied size/alignment request metadata is available. 该成员提供 OutputAllocator 输出缓冲区所有权边界的只读诊断信息;不会暴露 native 指针。

public bool CopiedRequestMetadataReady { get; }

Property Value

bool

CopiedShapeMetadataReady

Gets whether copied shape metadata is available. 该成员提供 OutputAllocator 输出缓冲区所有权边界的只读诊断信息;不会暴露 native 指针。

public bool CopiedShapeMetadataReady { get; }

Property Value

bool

CurrentMemoryReusePolicyReady

Gets whether currentMemory reuse policy is runtime ready. 该成员提供 OutputAllocator 输出缓冲区所有权边界的只读诊断信息;不会暴露 native 指针。

public bool CurrentMemoryReusePolicyReady { get; }

Property Value

bool

DeferredRowsStillRequired

Gets whether direct deferred callback rows must remain deferred. 该成员提供 OutputAllocator 输出缓冲区所有权边界的只读诊断信息;不会暴露 native 指针。

public bool DeferredRowsStillRequired { get; }

Property Value

bool

Diagnostic

Gets a copied diagnostic summary. 该成员提供 OutputAllocator 输出缓冲区所有权边界的只读诊断信息;不会暴露 native 指针。

public string Diagnostic { get; }

Property Value

string

EvidenceKind

Gets the marker used by readiness to identify this safety gate. 该成员提供 OutputAllocator 输出缓冲区所有权边界的只读诊断信息;不会暴露 native 指针。

public string EvidenceKind { get; }

Property Value

string

FullPackageConsumerRuntimeEvidenceReady

Gets whether full package consumer smoke has produced real callback runtime evidence. 该成员提供 OutputAllocator 输出缓冲区所有权边界的只读诊断信息;不会暴露 native 指针。

public bool FullPackageConsumerRuntimeEvidenceReady { get; }

Property Value

bool

HasCurrentMemory

Gets whether copied metadata reported a currentMemory value. 该成员提供 OutputAllocator 输出缓冲区所有权边界的只读诊断信息;不会暴露 native 指针。

public bool HasCurrentMemory { get; }

Property Value

bool

IsRealCallbackRuntimeProof

Gets whether readiness may promote this result as real callback runtime proof. 该成员提供 OutputAllocator 输出缓冲区所有权边界的只读诊断信息;不会暴露 native 指针。

public bool IsRealCallbackRuntimeProof { get; }

Property Value

bool

Line

Gets the TensorRT API line represented by the copied owner design snapshot. 该成员提供 OutputAllocator 输出缓冲区所有权边界的只读诊断信息;不会暴露 native 指针。

public TensorRtApiLine Line { get; }

Property Value

TensorRtApiLine

NotifyShapeCount

Gets the copied notifyShape diagnostic count. 该成员提供 OutputAllocator 输出缓冲区所有权边界的只读诊断信息;不会暴露 native 指针。

public long NotifyShapeCount { get; }

Property Value

long

OutputBufferOwnershipRuntimeReady

Gets whether output buffer ownership is runtime ready. 该成员提供 OutputAllocator 输出缓冲区所有权边界的只读诊断信息;不会暴露 native 指针。

public bool OutputBufferOwnershipRuntimeReady { get; }

Property Value

bool

OwnedDevicePointerReleasePolicyReady

Gets whether owned device pointer release policy is runtime ready. 该成员提供 OutputAllocator 输出缓冲区所有权边界的只读诊断信息;不会暴露 native 指针。

public bool OwnedDevicePointerReleasePolicyReady { get; }

Property Value

bool

OwnerDesignReady

Gets whether owner design evidence was clean. 该成员提供 OutputAllocator 输出缓冲区所有权边界的只读诊断信息;不会暴露 native 指针。

public bool OwnerDesignReady { get; }

Property Value

bool

PointerFreeSurfaceReady

Gets whether the public surface remains pointer-free. 该成员提供 OutputAllocator 输出缓冲区所有权边界的只读诊断信息;不会暴露 native 指针。

public bool PointerFreeSurfaceReady { get; }

Property Value

bool

RealCallbackRuntime

Gets whether this result proves a real TensorRT callback runtime. 该成员提供 OutputAllocator 输出缓冲区所有权边界的只读诊断信息;不会暴露 native 指针。

public bool RealCallbackRuntime { get; }

Property Value

bool

ReallocateOutputCount

Gets the copied reallocateOutput diagnostic count. 该成员提供 OutputAllocator 输出缓冲区所有权边界的只读诊断信息;不会暴露 native 指针。

public long ReallocateOutputCount { get; }

Property Value

long

ReallocateOutputRuntimeReady

Gets whether reallocateOutput runtime callback execution is ready. 该成员提供 OutputAllocator 输出缓冲区所有权边界的只读诊断信息;不会暴露 native 指针。

public bool ReallocateOutputRuntimeReady { get; }

Property Value

bool

RequestedSize

Gets the copied requested output buffer size. 该成员提供 OutputAllocator 输出缓冲区所有权边界的只读诊断信息;不会暴露 native 指针。

public ulong RequestedSize { get; }

Property Value

ulong

RuntimeEvidenceKind

Gets the runtime evidence kind. 该成员提供 OutputAllocator 输出缓冲区所有权边界的只读诊断信息;不会暴露 native 指针。

public string RuntimeEvidenceKind { get; }

Property Value

string

RuntimeProofBlocked

Gets whether real runtime proof is still blocked. 该成员提供 OutputAllocator 输出缓冲区所有权边界的只读诊断信息;不会暴露 native 指针。

public bool RuntimeProofBlocked { get; }

Property Value

bool

SafetyGateReady

Gets whether this safety gate has enough copied evidence to feed the runtime-proof precheck. 该成员提供 OutputAllocator 输出缓冲区所有权边界的只读诊断信息;不会暴露 native 指针。

public bool SafetyGateReady { get; }

Property Value

bool

ShapeNotificationOrderingReady

Gets whether notifyShape/reallocateOutput ordering has been proven in a real runtime callback. 该成员提供 OutputAllocator 输出缓冲区所有权边界的只读诊断信息;不会暴露 native 指针。

public bool ShapeNotificationOrderingReady { get; }

Property Value

bool

ShapeRank

Gets the copied output shape rank. 该成员提供 OutputAllocator 输出缓冲区所有权边界的只读诊断信息;不会暴露 native 指针。

public int ShapeRank { get; }

Property Value

int

Status

Gets the safety gate status. 该成员提供 OutputAllocator 输出缓冲区所有权边界的只读诊断信息;不会暴露 native 指针。

public string Status { get; }

Property Value

string

TensorName

Gets the copied tensor name. 该成员提供 OutputAllocator 输出缓冲区所有权边界的只读诊断信息;不会暴露 native 指针。

public string TensorName { get; }

Property Value

string

Methods

ToString()

Returns a compact diagnostic representation. 该成员提供 OutputAllocator 输出缓冲区所有权边界的只读诊断信息;不会暴露 native 指针。

public override string ToString()

Returns

string

A diagnostic string. 返回不暴露 native output buffer 指针的诊断结果。