Struct TensorRtAllocatorOwnerStateDryRunResult
- Namespace
- JYPPX.TensorRtSharp
- Assembly
- JYPPX.TensorRtSharp.dll
Reports copied native allocator owner state intent data from the dry-run C ABI. 表示从 dry-run C ABI 复制出的 native allocator owner 状态意图数据。
public readonly struct TensorRtAllocatorOwnerStateDryRunResult
- Inherited Members
Remarks
This result copies the synthetic owner state only. It does not expose any native handle, device pointer, or real TensorRT allocator callback. 该结果只复制合成的 owner 状态,不暴露任何 native handle、device pointer 或真实 TensorRT allocator callback。
Properties
AttachState
Gets the native attach state. 获取 native attach state。
public int AttachState { get; }
Property Value
Diagnostic
Gets the copied native diagnostic string. 获取复制出的 native 诊断字符串。
public string Diagnostic { get; }
Property Value
HasLiveAllocation
Gets whether the synthetic ledger still has a live allocation. 获取合成 ledger 是否仍有 live allocation。
public bool HasLiveAllocation { get; }
Property Value
IsAttached
Gets whether the synthetic owner is attached. 获取合成 owner 是否处于 attached 状态。
public bool IsAttached { get; }
Property Value
LastAlignment
Gets the last copied alignment. 获取最近一次复制出的 alignment。
public ulong LastAlignment { get; }
Property Value
LastAllocationId
Gets the last synthetic allocation id. 获取最近一次合成 allocation id。
public ulong LastAllocationId { get; }
Property Value
LastOperation
Gets the copied last operation name. 获取复制出的最近一次操作名。
public string LastOperation { get; }
Property Value
LastReleaseAllocationId
Gets the last synthetic release allocation id. 获取最近一次释放意图的 allocation id。
public ulong LastReleaseAllocationId { get; }
Property Value
LastSize
Gets the last copied size. 获取最近一次复制出的 size。
public ulong LastSize { get; }
Property Value
LastStatus
Gets the last bridge status recorded by native. 获取 native 记录的最近一次 bridge status。
public BridgeStatusCode LastStatus { get; }
Property Value
LastStreamValue
Gets the last copied stream value. 获取最近一次复制出的 stream value。
public ulong LastStreamValue { get; }
Property Value
LedgerAllocationCount
Gets the number of recorded allocation intents. 获取记录的分配意图次数。
public ulong LedgerAllocationCount { get; }
Property Value
LedgerFailureCount
Gets the number of ledger failures copied from native. 获取从 native 复制出的 ledger 失败次数。
public ulong LedgerFailureCount { get; }
Property Value
LedgerReleaseCount
Gets the number of recorded release intents. 获取记录的释放意图次数。
public ulong LedgerReleaseCount { get; }
Property Value
Line
Gets the TensorRT API line used by the native dry-run owner. 获取 native dry-run owner 使用的 TensorRT API line。
public TensorRtApiLine Line { get; }
Property Value
OwnerId
Gets the synthetic owner id copied from native. 获取从 native 复制出的合成 owner id。
public ulong OwnerId { get; }
Property Value
StateTransitionCount
Gets the number of state transitions copied from native. 获取从 native 复制出的状态转移次数。
public ulong StateTransitionCount { get; }
Property Value
Succeeded
Gets whether the copied state indicates success. 获取复制出的状态是否表示成功。
public bool Succeeded { get; }
Property Value
Methods
ToString()
Returns a compact diagnostic representation. 返回紧凑的诊断表示。
public override string ToString()
Returns
- string
A diagnostic string. 诊断字符串。