pub(crate) fn count_engine_files(dir: &Path) -> usizeExpand description
Counts every .engine file in dir regardless of _smXX suffix.
Backwards-compatible wrapper around count_engine_files_for_sm with
sm = None. Retained because the operator-visible startup cache log
(trt cache: found cached engines in crate::embedder::trt_cache::log_cache_state) reports the
total disk footprint, not the SM-filtered subset. Callers that drive
the prewarm postcondition use the SM-aware variant directly.