Struct TensorRtAllocatorNativeDryRunResult
- Namespace
- JYPPX.TensorRtSharp
- Assembly
- JYPPX.TensorRtSharp.dll
Reports copied diagnostics from the native allocator owner dry-run C ABI. 表示从 native allocator owner dry-run C ABI 复制出的诊断信息。
public readonly struct TensorRtAllocatorNativeDryRunResult
- Inherited Members
Remarks
This result does not expose or retain the native owner handle. It does not represent an enabled TensorRT allocator callback and never contains a device pointer. 该结果不会暴露或保留 native owner 句柄;它不表示 TensorRT allocator callback 已启用,也不会包含 device pointer。
Properties
Diagnostic
Gets the copied native diagnostic message. 获取复制出的 native 诊断消息。
public string Diagnostic { get; }
Property Value
FailureCount
Gets the native dry-run failure count copied from the owner. 获取从 native owner 复制出的 dry-run 失败次数。
public ulong FailureCount { get; }
Property Value
InvocationCount
Gets the native dry-run invocation count copied from the owner. 获取从 native owner 复制出的 dry-run 调用次数。
public ulong InvocationCount { get; }
Property Value
IsAttached
Gets whether the native dry-run owner is attached to TensorRT. 获取 native dry-run owner 是否绑定到 TensorRT。
public bool IsAttached { get; }
Property Value
Remarks
LastAlignment
Gets the last dry-run alignment copied from the native owner. 获取从 native owner 复制出的最近一次 dry-run alignment。
public ulong LastAlignment { get; }
Property Value
LastSize
Gets the last dry-run size copied from the native owner. 获取从 native owner 复制出的最近一次 dry-run size。
public ulong LastSize { get; }
Property Value
LastStatus
Gets the last bridge status recorded by the native dry-run owner. 获取 native dry-run owner 记录的最近一次 bridge status。
public BridgeStatusCode LastStatus { 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
Succeeded
Gets whether the native dry-run diagnostic completed successfully. 获取 native dry-run 诊断是否成功完成。
public bool Succeeded { get; }
Property Value
Methods
ToString()
Returns a compact diagnostic representation. 返回紧凑的诊断表示。
public override string ToString()
Returns
- string
A diagnostic string. 诊断字符串。