Class TensorRtErrorRecorderDiagnosticsDesignGate
- Namespace
- JYPPX.TensorRtSharp
- Assembly
- JYPPX.TensorRtSharp.dll
Evaluates the pointer-free TensorRT ErrorRecorder diagnostics design gate. 评估 TensorRT ErrorRecorder 只读诊断的无裸指针设计门。
public static class TensorRtErrorRecorderDiagnosticsDesignGate
- Inheritance
-
TensorRtErrorRecorderDiagnosticsDesignGate
- Inherited Members
Remarks
This gate only describes copied diagnostics readiness. It does not expose an IErrorRecorder*, does not
control native recorder reference counts, and is not runtime execution proof.
该门禁只描述已复制诊断的边界状态;不会暴露 IErrorRecorder*,不会控制原生 recorder 引用计数,也不是 runtime execution proof。
Methods
Evaluate(TensorRtErrorRecorderSnapshot)
Evaluates the ErrorRecorder diagnostics design gate from a copied snapshot. 根据已复制的 ErrorRecorder snapshot 评估诊断设计门。
public static TensorRtErrorRecorderDiagnosticsDesignGateResult Evaluate(TensorRtErrorRecorderSnapshot snapshot)
Parameters
snapshotTensorRtErrorRecorderSnapshotThe copied ErrorRecorder snapshot. 已复制的 ErrorRecorder snapshot。
Returns
- TensorRtErrorRecorderDiagnosticsDesignGateResult
A pointer-free diagnostics design gate result. 无裸指针诊断设计门结果。
Evaluate(TensorRtErrorRecorderSnapshot, bool, bool, bool, bool)
Evaluates the ErrorRecorder diagnostics design gate from a copied snapshot and explicit capability flags. 根据已复制 snapshot 和显式能力标记评估 ErrorRecorder 诊断设计门。
public static TensorRtErrorRecorderDiagnosticsDesignGateResult Evaluate(TensorRtErrorRecorderSnapshot snapshot, bool runtimeSnapshotAvailable, bool refitterSnapshotAvailable, bool presenceControlsAvailable, bool clearControlsAvailable)
Parameters
snapshotTensorRtErrorRecorderSnapshotThe copied ErrorRecorder snapshot. 已复制的 ErrorRecorder snapshot。
runtimeSnapshotAvailableboolWhether runtime copied snapshot APIs are available. Runtime copied snapshot API 是否可用。
refitterSnapshotAvailableboolWhether refitter copied snapshot APIs are available. Refitter copied snapshot API 是否可用。
presenceControlsAvailableboolWhether owner presence controls are available. Owner presence 控制是否可用。
clearControlsAvailableboolWhether owner clear controls are available. Owner clear 控制是否可用。
Returns
- TensorRtErrorRecorderDiagnosticsDesignGateResult
A pointer-free diagnostics design gate result. 无裸指针诊断设计门结果。
EvaluateKnownSurface(TensorRtApiLine)
Evaluates the known public ErrorRecorder diagnostics surface for a TensorRT API line. 基于已知 public ErrorRecorder 诊断边界评估指定 TensorRT API line。
public static TensorRtErrorRecorderDiagnosticsDesignGateResult EvaluateKnownSurface(TensorRtApiLine line)
Parameters
lineTensorRtApiLineThe TensorRT API line. TensorRT API 版本线。
Returns
- TensorRtErrorRecorderDiagnosticsDesignGateResult
A pointer-free diagnostics design gate result. 无裸指针诊断设计门结果。