Skip to main content

trueno_gpu/monitor/
mod.rs

1//! TUI Compute Mode Flow: CPU, GPU, and Memory Monitoring
2//!
3//! TRUENO-SPEC-020: Unified compute device abstraction for real-time monitoring.
4//!
5//! # Architecture
6//!
7//! ```text
8//! ┌─────────────┐   ┌─────────────┐   ┌─────────────┐
9//! │   CPU       │   │ NVIDIA GPU  │   │  AMD GPU    │
10//! │  Backend    │   │   Backend   │   │   Backend   │
11//! └──────┬──────┘   └──────┬──────┘   └──────┬──────┘
12//!        └────────────┬────┴────────────┬────┘
13//!              ┌──────▼─────────────────▼──────┐
14//!              │   Unified Telemetry Collector │
15//!              └───────────────┬───────────────┘
16//!                              │
17//!              ┌───────────────▼───────────────┐
18//!              │    TUI Renderer (presentar)    │
19//!              └───────────────────────────────┘
20//! ```
21//!
22//! # References
23//!
24//! - [Volkov2008] Tile size optimization, memory bandwidth modeling
25//! - [Liker2004] Toyota Way principles (Genchi Genbutsu, Jidoka)
26//! - [LAMBDA-0002] Memory pressure levels specification
27
28mod compute;
29mod data_flow;
30mod device;
31mod memory;
32mod stress_test;
33mod tui_layout;
34
35pub use compute::*;
36pub use data_flow::*;
37pub use device::*;
38pub use memory::*;
39pub use stress_test::*;
40pub use tui_layout::*;
41
42// Re-export legacy CUDA types for backwards compatibility
43mod cuda;
44pub use cuda::{cuda_device_count, cuda_monitoring_available, CudaDeviceInfo, CudaMemoryInfo};