NVlabs/kda

Kernel Design Agents (KDA) is a agent-centric workflow to write high-performance CUDA Kernels.

What it solves

Kernel Design Agents (KDA) provides a structured workflow for using coding agents to automate the research, implementation, and optimization of performance-sensitive CUDA kernels. It streamlines the process of creating high-performance GPU kernels by integrating research, verification, and iterative refinement.

How it works

KDA is an agent-centric workflow that guides a coding agent through a specific lifecycle: defining a task contract (objectives and constraints), drafting a plan, and implementing the kernel in small, verified iterations. It utilizes prompt templates and specialized "skills" (such as ncu-report-skill and KernelWiki) to provide the agent with the agent-specific knowledge and profiling tools needed for CUDA development.

Who it’s for

Developers and researchers focusing on GPU performance optimization and CUDA kernel development, particularly those targeting NVIDIA B200 and B300 GPUs.

Highlights

  • Iterative Verification: Focuses on small, incremental changes followed by immediate verification to ensure correctness and performance.
  • Specialized Skills: Integrates with tools like ncu-report-skill for profiling and KernelWiki for domain knowledge.
  • Agent-Centric Workflow: Provides a structured approach (from task contract to final promotion) that is independent of any single benchmark harness or hardware target.
  • Community Wishlist: Maintains a community-driven list of kernels that need optimization requests.

Related

  • Project
  • Project
  • Project
  • Project