Table of Contents

Struct TensorRtOutputAllocatorCallbackOwnerSnapshot

Namespace
JYPPX.TensorRtSharp
Assembly
JYPPX.TensorRtSharp.dll

Reports copied diagnostics for the output allocator callback owner design gate. 表示 output allocator callback owner 设计门禁复制出的诊断信息。

public readonly struct TensorRtOutputAllocatorCallbackOwnerSnapshot
Inherited Members

Remarks

This snapshot intentionally exposes no native handle, callback owner pointer, output buffer pointer, or borrowed TensorRT object pointer. It is not proof that TensorRT has invoked IOutputAllocator::notifyShape or IOutputAllocator::reallocateOutput. 该快照有意不暴露 native handle、callback owner pointer、output buffer pointer 或 borrowed TensorRT object pointer。 它不证明 TensorRT 已调用 IOutputAllocator::notifyShape 或 IOutputAllocator::reallocateOutput。

Properties

ActiveGateCallCount

Gets the copied active gate call count. 获取复制出的 active gate 调用数量。

public int ActiveGateCallCount { get; }

Property Value

int

Alignment

Gets the copied requested output buffer alignment. 获取复制出的请求输出缓冲区对齐。

public ulong Alignment { get; }

Property Value

ulong

CallbackKind

Gets the callback kind represented by this diagnostic snapshot. 获取该诊断快照代表的 callback 类型。

public string CallbackKind { get; }

Property Value

string

CallbackStatePinned

Gets whether managed callback state remains pinned. 获取托管 callback state 是否仍被 pin 住。

public bool CallbackStatePinned { get; }

Property Value

bool

DelegatePinned

Gets whether the managed delegate remains pinned. 获取托管 delegate 是否仍被 pin 住。

public bool DelegatePinned { get; }

Property Value

bool

DisposeRequested

Gets whether dispose has been requested. 获取是否已请求释放。

public bool DisposeRequested { get; }

Property Value

bool

EvidenceKind

Gets the marker used by readiness to identify this gate. 获取 readiness 用于识别该门禁的 marker。

public string EvidenceKind { get; }

Property Value

string

FailureCount

Gets the copied managed callback failure count. 获取复制出的托管 callback 失败次数。

public long FailureCount { get; }

Property Value

long

HasCurrentMemory

Gets whether TensorRT reported an existing current memory pointer. 获取 TensorRT 是否报告已有 current memory pointer。

public bool HasCurrentMemory { get; }

Property Value

bool

HasLiveAllocation

Gets whether the synthetic ledger still has a live allocation. 获取合成 ledger 是否仍有 live allocation。

public bool HasLiveAllocation { get; }

Property Value

bool

InFlightCallbackCount

Gets the copied in-flight callback count. 获取复制出的 in-flight callback 数量。

public long InFlightCallbackCount { get; }

Property Value

long

InvocationCount

Gets the total copied runtime gate invocation count. 获取复制出的 runtime gate 调用次数。

public long InvocationCount { get; }

Property Value

long

IsAttached

Gets whether this design owner is attached to a TensorRT execution context. 获取该设计 owner 是否已绑定到 TensorRT execution context。

public bool IsAttached { get; }

Property Value

bool

IsRealCallbackRuntimeProof

Gets whether readiness may promote this snapshot as real callback runtime proof. 获取 readiness 是否可将该快照提升为真实 callback runtime proof。

public bool IsRealCallbackRuntimeProof { get; }

Property Value

bool

LastAllocationId

Gets the last synthetic allocation id. 获取最近一次合成 allocation id。

public ulong LastAllocationId { get; }

Property Value

ulong

LastDiagnostic

Gets the copied combined diagnostic message. 获取复制出的合并诊断消息。

public string LastDiagnostic { get; }

Property Value

string

LastReleaseAllocationId

Gets the last synthetic release allocation id. 获取最近一次合成 release allocation id。

public ulong LastReleaseAllocationId { get; }

Property Value

ulong

LastStatus

Gets the combined status for the gate and ledger diagnostics. 获取 gate 与 ledger 诊断合并后的状态。

public BridgeStatusCode LastStatus { get; }

Property Value

BridgeStatusCode

LastStreamValue

Gets the last copied synthetic stream value. 获取最近一次复制出的合成 stream 值。

public ulong LastStreamValue { get; }

Property Value

ulong

LedgerAllocationCount

Gets the copied ledger allocation intent count. 获取复制出的 ledger allocation intent 次数。

public ulong LedgerAllocationCount { get; }

Property Value

ulong

LedgerFailureCount

Gets the copied ledger failure count. 获取复制出的 ledger 失败次数。

public ulong LedgerFailureCount { get; }

Property Value

ulong

LedgerReleaseCount

Gets the copied ledger release intent count. 获取复制出的 ledger release intent 次数。

public ulong LedgerReleaseCount { get; }

Property Value

ulong

Line

Gets the TensorRT API line used for the native ledger diagnostic attempt. 获取 native ledger 诊断尝试使用的 TensorRT API line。

public TensorRtApiLine Line { get; }

Property Value

TensorRtApiLine

MaxInFlightCallbackCount

Gets the copied maximum in-flight callback count. 获取复制出的最大 in-flight callback 数量。

public long MaxInFlightCallbackCount { get; }

Property Value

long

NativeLastOperation

Gets the copied native ledger last operation. 获取复制出的 native ledger 最近操作。

public string NativeLastOperation { get; }

Property Value

string

NativeLedgerAvailable

Gets whether the native ledger diagnostic completed and produced copied state. 获取 native ledger 诊断是否完成并产生复制状态。

public bool NativeLedgerAvailable { get; }

Property Value

bool

NativeLedgerDiagnostic

Gets the copied native ledger diagnostic message. 获取复制出的 native ledger 诊断消息。

public string NativeLedgerDiagnostic { get; }

Property Value

string

NativeLedgerStatus

Gets the status returned by the native ledger diagnostic attempt. 获取 native ledger 诊断尝试返回的状态。

public BridgeStatusCode NativeLedgerStatus { get; }

Property Value

BridgeStatusCode

NativeOwnerId

Gets the synthetic native owner id copied from the ledger dry-run. 获取从 ledger dry-run 复制出的合成 native owner id。

public ulong NativeOwnerId { get; }

Property Value

ulong

NotifyShapeCount

Gets the copied notifyShape diagnostic count. 获取复制出的 notifyShape 诊断次数。

public long NotifyShapeCount { get; }

Property Value

long

Operation

Gets the last copied operation. 获取最近一次复制出的操作。

public string Operation { get; }

Property Value

string

OutputBufferPointerExposed

Gets whether an output buffer pointer is exposed by this public API. 获取该 public API 是否暴露 output buffer pointer。

public bool OutputBufferPointerExposed { get; }

Property Value

bool

OutputBufferPointerProduced

Gets whether an output buffer pointer was produced by this diagnostic gate. 获取该诊断门禁是否产生 output buffer pointer。

public bool OutputBufferPointerProduced { get; }

Property Value

bool

OwnerId

Gets the managed output allocator owner id copied from the runtime gate. 获取从 runtime gate 复制出的托管 output allocator owner id。

public long OwnerId { get; }

Property Value

long

RealCallbackRuntime

Gets whether this snapshot proves a real TensorRT callback runtime. 获取该快照是否证明真实 TensorRT callback runtime。

public bool RealCallbackRuntime { get; }

Property Value

bool

ReallocateOutputCount

Gets the copied reallocateOutput diagnostic count. 获取复制出的 reallocateOutput 诊断次数。

public long ReallocateOutputCount { get; }

Property Value

long

ReleaseDiagnostic

Gets the copied release diagnostic message. 获取复制出的释放诊断消息。

public string ReleaseDiagnostic { get; }

Property Value

string

ReleaseHookCount

Gets the copied release hook count. 获取复制出的 release hook 次数。

public long ReleaseHookCount { get; }

Property Value

long

RequestedSize

Gets the copied requested output buffer size. 获取复制出的请求输出缓冲区大小。

public ulong RequestedSize { get; }

Property Value

ulong

RuntimeEvidenceKind

Gets the runtime evidence kind. 获取 runtime 证据类型。

public string RuntimeEvidenceKind { get; }

Property Value

string

RuntimeGateStatus

Gets the status returned by the managed runtime gate. 获取托管 runtime gate 返回的状态。

public BridgeStatusCode RuntimeGateStatus { get; }

Property Value

BridgeStatusCode

ShapeRank

Gets the copied output shape rank. 获取复制出的输出 shape rank。

public int ShapeRank { get; }

Property Value

int

ShapeSummary

Gets a compact copied output shape summary. 获取紧凑的复制输出 shape 摘要。

public string ShapeSummary { get; }

Property Value

string

StateTransitionCount

Gets the copied native owner state transition count. 获取复制出的 native owner 状态转移次数。

public ulong StateTransitionCount { get; }

Property Value

ulong

Succeeded

Gets whether the diagnostic completed without gate or ledger failures. 获取诊断是否未出现 gate 或 ledger 失败。

public bool Succeeded { get; }

Property Value

bool

TensorName

Gets the copied output tensor name. 获取复制出的输出 tensor 名称。

public string TensorName { get; }

Property Value

string

Methods

ToString()

Returns a compact diagnostic representation. 返回紧凑的诊断表示。

public override string ToString()

Returns

string

A diagnostic string. 诊断字符串。