Expand description
cgp explain — Static code analysis for PTX, SIMD assembly, and WGSL shaders.
Spec section 2.7: wraps trueno-explain or performs inline analysis.
Detects register pressure, instruction mix, and common performance pitfalls.
Structs§
- PtxAnalysis
- Result of PTX static analysis.
- Wgsl
Analysis - Result of WGSL static analysis.
Functions§
- analyze_
ptx - Analyze a PTX file for performance-relevant patterns.
- analyze_
wgsl - Analyze a WGSL shader for compute patterns.
- run_
explain - Run the explain command.