Skip to main content

Module host

Module host 

Source
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§

RuntimeProfile
Auto-tuned runtime profile for the local host.

Enums§

AccelerationMode
Selected acceleration path for the current host.
GpuBackend
Backend technology hint for the detected accelerator path.
ProbeMode
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).