feedback-loop - Iterative optimization loop for generated sparse kernels
Guides iterative autotuning of generated sparse kernels using correctness and performance feedback.
Tags
Updated: 2026-09-10Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Extract matrix features
- Validate sparse format parameters
- Generate candidate kernel code
- Compile generated kernel code
- Evaluate correctness and timing
- Profile kernel with NCU
- Select best correct iteration
Inputs
- Matrix features
- Sparse format parameters
- Kernel strategy JSON
- Correctness and timing feedback
- NCU profile summaries
- cuSPARSE benchmark metrics
Outputs
- Generated kernel code
- Compile logs
- Run logs
- Profile summaries
- Aggregate metrics
- Selected best iteration
Requirements
- GPU execution environment
- NCU profiler
- cuSPARSE library
- sparsene.kernel_only_post_conversion.v1 contract
