Skip to main content

qualia_core_db/platform/
mod.rs

1//! `platform` category (reorg).
2
3#[cfg(all(not(target_arch = "wasm32"), feature = "gpu-runtime"))]
4pub mod accelerator_inventory;
5#[cfg(not(target_arch = "wasm32"))]
6pub mod compute_bridge;
7#[cfg(not(target_arch = "wasm32"))]
8pub mod device_benchmark;
9pub mod git_bridge;
10#[cfg(not(target_arch = "wasm32"))]
11pub mod hardware_passport;
12#[cfg(any(target_os = "android", test))]
13pub mod jni_bridge;
14pub mod kml_bridge;
15#[cfg(all(not(target_arch = "wasm32"), feature = "gpu-runtime"))]
16pub mod npu_ffi;
17pub mod tee_ffi;
18// Hardware dispatch / I/O — relocated here from `modalities::calculus` (they are
19// platform concerns the compute layers depend on, not logic modalities).
20#[cfg(all(not(target_arch = "wasm32"), feature = "gpu-runtime"))]
21pub mod gpu;
22#[cfg(all(not(target_arch = "wasm32"), feature = "gpu-runtime"))]
23pub mod hetero_dispatch;
24#[cfg(not(target_arch = "wasm32"))]
25pub mod host;
26#[cfg(not(target_arch = "wasm32"))]
27pub mod local_scheduler;
28#[cfg(not(target_arch = "wasm32"))]
29pub mod platform_scheduler;
30pub mod precision_timer;
31
32pub use precision_timer::{
33    format_duration_human, BenchmarkResult, DurationPrecisionExt, PrecisionTimer,
34};