What problem does it solve?
NVIDIA Warp applications can stall for seconds at startup or on every CI run because JIT modules recompile unnecessarily. This Skill measures cold-start compilation with an isolated-cache probe, identifies which of thirteen known mechanisms (module identity churn, block-dimension duplication, discarded caches, unused backward codegen, MathDx LTO, serial builds, and more) is responsible, and guides a verified fix that preserves the workload.
Core Features & Use Cases
- Isolated measurement probe:
scripts/warp_compile_probe.py runs any command with fresh Warp and CUDA caches, records module identities, hashes, block dimensions, launch topology, and warm-pass reuse, then compares baseline and candidate runs while rejecting workload changes.
- Thirteen documented mechanisms:
references/mechanisms.md maps each probe signal (repeated hashes, block_dim spread, LTO artifacts, cache-not-reused) to a specific cause, fix, limits, and measured evidence.
- Rigorous verification protocol:
references/measurement.md defines noise bands, median/MAD statistics, launch-topology equivalence checks, and reporting rules so gains are real rather than measurement artifacts.
- Use Case: A CI pipeline pays a large one-time cost every time a Warp particle-preprocessing package starts. The Skill measures the cold run, finds modules rebuilt due to late option changes, hoists the options before first load, and confirms the reduction with before/after medians while preserving every kernel launch and numeric result.
Quick Start
Ask your agent to measure and reduce the Warp compile time of your application, for example: "My Warp app stalls for seconds at the first wp.launch — find out why and cut the compile time without changing results."