Table of Contents

Class TensorRtBuilderConfigDeploymentSnapshot

Namespace
JYPPX.TensorRtSharp
Assembly
JYPPX.TensorRtSharp.dll

Captures TensorRT builder configuration values that materially affect engine deployment. 捕获会实质影响 engine 部署结果的 TensorRT builder 配置值。

public sealed class TensorRtBuilderConfigDeploymentSnapshot
Inheritance
TensorRtBuilderConfigDeploymentSnapshot
Inherited Members

Properties

AverageTimingIterations

Gets average timing iterations. 获取 average timing iterations。

public int AverageTimingIterations { get; }

Property Value

int

DefaultDeviceType

Gets default device type for layers. 获取 layer 默认设备类型。

public TensorRtDeviceType DefaultDeviceType { get; }

Property Value

TensorRtDeviceType

Diagnostics

Gets non-fatal diagnostics collected while building the snapshot. 获取构建快照时收集的非致命诊断信息。

public IReadOnlyList<string> Diagnostics { get; }

Property Value

IReadOnlyList<string>

DlaCore

Gets selected DLA core index. 获取选择的 DLA core 索引。

public int DlaCore { get; }

Property Value

int

EngineCapability

Gets configured engine capability. 获取已配置的 engine capability。

public TensorRtEngineCapability EngineCapability { get; }

Property Value

TensorRtEngineCapability

Flags

Gets the TensorRT 11 builder flag bitmask. 获取 TensorRT 11 builder flag 位掩码。

public TensorRtBuilderFlags Flags { get; }

Property Value

TensorRtBuilderFlags

HardwareCompatibilityLevel

Gets configured hardware compatibility level. 获取已配置的硬件兼容级别。

public TensorRtHardwareCompatibilityLevel HardwareCompatibilityLevel { get; }

Property Value

TensorRtHardwareCompatibilityLevel

HasCalibrationProfile

Gets whether a calibration profile is attached. 获取是否已附加 calibration profile。

public bool HasCalibrationProfile { get; }

Property Value

bool

HasProgressMonitor

Gets whether a progress monitor is attached. 获取是否已绑定 progress monitor。

public bool HasProgressMonitor { get; }

Property Value

bool

HasTimingCache

Gets whether a timing cache is attached. 获取是否已绑定 timing cache。

public bool HasTimingCache { get; }

Property Value

bool

IsProfileStreamSet

Gets whether a profiling CUDA stream is set. 获取是否已设置 profiling CUDA stream。

public bool IsProfileStreamSet { get; }

Property Value

bool

L2LimitForTilingInBytes

Gets L2 byte limit for tiling optimization. 获取 tiling 优化使用的 L2 字节上限。

public long L2LimitForTilingInBytes { get; }

Property Value

long

MaxAuxStreams

Gets maximum auxiliary stream count requested during build. 获取构建时请求的最大辅助 stream 数量。

public int MaxAuxStreams { get; }

Property Value

int

MaxTactics

Gets maximum tactic count considered during build. 获取构建时最多考虑的 tactic 数量。

public int MaxTactics { get; }

Property Value

int

OptimizationLevel

Gets builder optimization level. 获取 builder optimization level。

public int OptimizationLevel { get; }

Property Value

int

OptimizationProfileCount

Gets the number of optimization profiles attached to the config. 获取已附加到配置的 optimization profile 数量。

public int OptimizationProfileCount { get; }

Property Value

int

PluginToSerializeCount

Gets number of plugin libraries configured for serialization. 获取配置为随 engine 序列化的 plugin library 数量。

public int PluginToSerializeCount { get; }

Property Value

int

ProfilingVerbosity

Gets profiling verbosity. 获取 profiling verbosity。

public TensorRtProfilingVerbosity ProfilingVerbosity { get; }

Property Value

TensorRtProfilingVerbosity

RemoteAutoTuningConfig

Gets remote auto-tuning configuration text. 获取 remote auto-tuning 配置文本。

public string RemoteAutoTuningConfig { get; }

Property Value

string

RuntimePlatform

Gets configured runtime platform. 获取已配置的 runtime platform。

public TensorRtRuntimePlatform RuntimePlatform { get; }

Property Value

TensorRtRuntimePlatform

TacticSources

Gets tactic-source bit flags. 获取 tactic source 位标志。

public TensorRtTacticSources TacticSources { get; }

Property Value

TensorRtTacticSources

TilingOptimizationLevel

Gets TensorRT 11 tiling optimization level. 获取 TensorRT 11 tiling 优化级别。

public TensorRtTilingOptimizationLevel TilingOptimizationLevel { get; }

Property Value

TensorRtTilingOptimizationLevel

WorkspaceMemoryPoolLimitInBytes

Gets workspace memory-pool limit. 获取 workspace memory pool 限制。

public ulong WorkspaceMemoryPoolLimitInBytes { get; }

Property Value

ulong

Methods

ToString()

Creates a compact one-line diagnostic summary. 创建紧凑的单行诊断摘要。

public override string ToString()

Returns

string