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
Alignment
Gets the copied requested output buffer alignment. 获取复制出的请求输出缓冲区对齐。
public ulong Alignment { get; }
Property Value
CallbackKind
Gets the callback kind represented by this diagnostic snapshot. 获取该诊断快照代表的 callback 类型。
public string CallbackKind { get; }
Property Value
CallbackStatePinned
Gets whether managed callback state remains pinned. 获取托管 callback state 是否仍被 pin 住。
public bool CallbackStatePinned { get; }
Property Value
DelegatePinned
Gets whether the managed delegate remains pinned. 获取托管 delegate 是否仍被 pin 住。
public bool DelegatePinned { get; }
Property Value
DisposeRequested
Gets whether dispose has been requested. 获取是否已请求释放。
public bool DisposeRequested { get; }
Property Value
EvidenceKind
Gets the marker used by readiness to identify this gate. 获取 readiness 用于识别该门禁的 marker。
public string EvidenceKind { get; }
Property Value
FailureCount
Gets the copied managed callback failure count. 获取复制出的托管 callback 失败次数。
public long FailureCount { get; }
Property Value
HasCurrentMemory
Gets whether TensorRT reported an existing current memory pointer. 获取 TensorRT 是否报告已有 current memory pointer。
public bool HasCurrentMemory { get; }
Property Value
HasLiveAllocation
Gets whether the synthetic ledger still has a live allocation. 获取合成 ledger 是否仍有 live allocation。
public bool HasLiveAllocation { get; }
Property Value
InFlightCallbackCount
Gets the copied in-flight callback count. 获取复制出的 in-flight callback 数量。
public long InFlightCallbackCount { get; }
Property Value
InvocationCount
Gets the total copied runtime gate invocation count. 获取复制出的 runtime gate 调用次数。
public long InvocationCount { get; }
Property Value
IsAttached
Gets whether this design owner is attached to a TensorRT execution context. 获取该设计 owner 是否已绑定到 TensorRT execution context。
public bool IsAttached { get; }
Property Value
IsRealCallbackRuntimeProof
Gets whether readiness may promote this snapshot as real callback runtime proof. 获取 readiness 是否可将该快照提升为真实 callback runtime proof。
public bool IsRealCallbackRuntimeProof { get; }
Property Value
LastAllocationId
Gets the last synthetic allocation id. 获取最近一次合成 allocation id。
public ulong LastAllocationId { get; }
Property Value
LastDiagnostic
Gets the copied combined diagnostic message. 获取复制出的合并诊断消息。
public string LastDiagnostic { get; }
Property Value
LastReleaseAllocationId
Gets the last synthetic release allocation id. 获取最近一次合成 release allocation id。
public ulong LastReleaseAllocationId { get; }
Property Value
LastStatus
Gets the combined status for the gate and ledger diagnostics. 获取 gate 与 ledger 诊断合并后的状态。
public BridgeStatusCode LastStatus { get; }
Property Value
LastStreamValue
Gets the last copied synthetic stream value. 获取最近一次复制出的合成 stream 值。
public ulong LastStreamValue { get; }
Property Value
LedgerAllocationCount
Gets the copied ledger allocation intent count. 获取复制出的 ledger allocation intent 次数。
public ulong LedgerAllocationCount { get; }
Property Value
LedgerFailureCount
Gets the copied ledger failure count. 获取复制出的 ledger 失败次数。
public ulong LedgerFailureCount { get; }
Property Value
LedgerReleaseCount
Gets the copied ledger release intent count. 获取复制出的 ledger release intent 次数。
public ulong LedgerReleaseCount { get; }
Property Value
Line
Gets the TensorRT API line used for the native ledger diagnostic attempt. 获取 native ledger 诊断尝试使用的 TensorRT API line。
public TensorRtApiLine Line { get; }
Property Value
MaxInFlightCallbackCount
Gets the copied maximum in-flight callback count. 获取复制出的最大 in-flight callback 数量。
public long MaxInFlightCallbackCount { get; }
Property Value
NativeLastOperation
Gets the copied native ledger last operation. 获取复制出的 native ledger 最近操作。
public string NativeLastOperation { get; }
Property Value
NativeLedgerAvailable
Gets whether the native ledger diagnostic completed and produced copied state. 获取 native ledger 诊断是否完成并产生复制状态。
public bool NativeLedgerAvailable { get; }
Property Value
NativeLedgerDiagnostic
Gets the copied native ledger diagnostic message. 获取复制出的 native ledger 诊断消息。
public string NativeLedgerDiagnostic { get; }
Property Value
NativeLedgerStatus
Gets the status returned by the native ledger diagnostic attempt. 获取 native ledger 诊断尝试返回的状态。
public BridgeStatusCode NativeLedgerStatus { get; }
Property Value
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
NotifyShapeCount
Gets the copied notifyShape diagnostic count. 获取复制出的 notifyShape 诊断次数。
public long NotifyShapeCount { get; }
Property Value
Operation
Gets the last copied operation. 获取最近一次复制出的操作。
public string Operation { get; }
Property Value
OutputBufferPointerExposed
Gets whether an output buffer pointer is exposed by this public API. 获取该 public API 是否暴露 output buffer pointer。
public bool OutputBufferPointerExposed { get; }
Property Value
OutputBufferPointerProduced
Gets whether an output buffer pointer was produced by this diagnostic gate. 获取该诊断门禁是否产生 output buffer pointer。
public bool OutputBufferPointerProduced { get; }
Property Value
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
RealCallbackRuntime
Gets whether this snapshot proves a real TensorRT callback runtime. 获取该快照是否证明真实 TensorRT callback runtime。
public bool RealCallbackRuntime { get; }
Property Value
ReallocateOutputCount
Gets the copied reallocateOutput diagnostic count. 获取复制出的 reallocateOutput 诊断次数。
public long ReallocateOutputCount { get; }
Property Value
ReleaseDiagnostic
Gets the copied release diagnostic message. 获取复制出的释放诊断消息。
public string ReleaseDiagnostic { get; }
Property Value
ReleaseHookCount
Gets the copied release hook count. 获取复制出的 release hook 次数。
public long ReleaseHookCount { get; }
Property Value
RequestedSize
Gets the copied requested output buffer size. 获取复制出的请求输出缓冲区大小。
public ulong RequestedSize { get; }
Property Value
RuntimeEvidenceKind
Gets the runtime evidence kind. 获取 runtime 证据类型。
public string RuntimeEvidenceKind { get; }
Property Value
RuntimeGateStatus
Gets the status returned by the managed runtime gate. 获取托管 runtime gate 返回的状态。
public BridgeStatusCode RuntimeGateStatus { get; }
Property Value
ShapeRank
Gets the copied output shape rank. 获取复制出的输出 shape rank。
public int ShapeRank { get; }
Property Value
ShapeSummary
Gets a compact copied output shape summary. 获取紧凑的复制输出 shape 摘要。
public string ShapeSummary { get; }
Property Value
StateTransitionCount
Gets the copied native owner state transition count. 获取复制出的 native owner 状态转移次数。
public ulong StateTransitionCount { get; }
Property Value
Succeeded
Gets whether the diagnostic completed without gate or ledger failures. 获取诊断是否未出现 gate 或 ledger 失败。
public bool Succeeded { get; }
Property Value
TensorName
Gets the copied output tensor name. 获取复制出的输出 tensor 名称。
public string TensorName { get; }
Property Value
Methods
ToString()
Returns a compact diagnostic representation. 返回紧凑的诊断表示。
public override string ToString()
Returns
- string
A diagnostic string. 诊断字符串。