trueno-explain: PTX/SIMD/wgpu Visualization and Tracing CLI
A CLI tool that visualizes and traces code generation flows across Trueno's execution targets. Implements the Toyota Way principle of Genchi Genbutsu (Go and See) by making invisible compiler transformations visible.
Features
- PTX register pressure analysis
- Memory access pattern detection
- Warp divergence visualization (Heijunka)
- Muda (waste) detection and elimination suggestions
Example
use PtxAnalyzer;
use Analyzer;
let ptx = r#"
.entry test() {
.reg .f32 %f<16>;
ret;
}
"#;
let analyzer = new;
let report = analyzer.analyze.unwrap;
assert_eq!;