Expand description
Host resource detection and runtime auto-tuning.
This module detects the local machine’s available resources and derives a conservative runtime profile for worker counts and acceleration strategy.
Most detection logic now delegates to crate::system_profile::SystemProfile.
Structs§
- Runtime
Profile - Auto-tuned runtime profile for the local host.
Enums§
- Acceleration
Mode - Selected acceleration path for the current host.
- GpuBackend
- Backend technology hint for the detected accelerator path.
- Probe
Mode - Hardware probe mode.
Functions§
- detect_
local_ node_ resources - Detect the current host’s node resources.
- detect_
runtime_ profile - Detect the local runtime profile for the host.
- detect_
runtime_ profile_ full - Detect the local runtime profile using the full probe path.
- detect_
runtime_ profile_ with_ mode - Detect the local runtime profile for the host using a specific probe mode.
- infer_
compute_ capability_ from_ name - Infer GPU compute capability from its marketing name.
- is_
apple_ silicon - Whether the current host is Apple Silicon (ARM64 Mac).