ako4all

Automate iterative GPU kernel optimization with benchmarking and correctness checks.

344|28|Updated Mar 23, 2026
One-click install
npx skills add https://github.com/TongmingLAIC/AKO4ALL --skill ako4all
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ako4all
Source: https://github.com/TongmingLAIC/AKO4ALL/tree/main
Command: npx skills add https://github.com/TongmingLAIC/AKO4ALL --skill ako4all

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Iterative, automated optimization of GPU kernels (CUDA, Triton, TileLang, or C/C++) to maximize runtime speedups in a drop-in workflow.

Core Features & Use Cases

  • Establishes a workspace and runs a repeatable optimize-benchmark-improve loop (profiling with ncu, correctness checks, and iterative edits).
  • Supports multiple languages/backends and a plug-in bench (KernelBench) with built-in evaluation and logging to ITERATIONS.md.
  • Commits progress as a traceable artifact via git, enabling resumable optimization across sessions.

Quick Start

Open Claude Code in a directory containing your kernel and instruct it to start an optimization loop.

Frequently Asked Questions about ako4all

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate GPU kernel optimization for maximum speedup?

You can automate GPU kernel optimization by running an agentic loop that iteratively profiles, edits, and benchmarks your code. The workflow establishes a workspace to continuously evaluate and improve kernel runtime speedups automatically.

Does this GPU optimization workflow support Triton and CUDA kernels?

Yes, the automated optimization workflow supports CUDA, Triton, TileLang, CuTe DSL, and Python kernels. It applies its optimize-benchmark-improve loop iteratively across these multiple languages and backends.

What do I need to start an automated GPU kernel benchmark loop?

To start an automated GPU kernel benchmark loop, you need your kernel file, a bench script to drive evaluations, and optional reference data, inputs, or hints. Open your directory in Claude Code to initiate the optimization process.

How does iterative kernel optimization handle profiling and correctness checks?

Iterative kernel optimization handles profiling and correctness by running a repeatable loop. It uses ncu for profiling, performs correctness checks against reference data, and logs evaluation results directly to an ITERATIONS.md file.

Can I resume an automated GPU kernel optimization session across different runs?

Yes, you can resume automated GPU kernel optimization across sessions. The workflow commits optimization progress as a traceable artifact via git, enabling resumable iterations and continuous improvement over multiple separate runs.

What is the best way to evaluate GPU kernel speedups during development?

The best way to evaluate GPU kernel speedups is using a plug-in benchmark like KernelBench. It drives the evaluation loop, checks correctness, and logs iterative profiling data to track performance improvements accurately.