choreo-kernel-examples

Provide GPU kernel design patterns for warp specialization and pipeline staging in Choreo DSL.

Updated Apr 10, 2026
One-click install
npx skills add https://github.com/LancerLab/croqtile-tuner --skill choreo-kernel-examples
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: choreo-kernel-examples
Source: https://github.com/LancerLab/croqtile-tuner/tree/main/.cursor/skills/cursor-choreo-kernel-examples
Command: npx skills add https://github.com/LancerLab/croqtile-tuner --skill choreo-kernel-examples

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

It provides a curated collection of reference GPU kernel implementations in the Choreo DSL, enabling developers to learn and replicate best practices in kernel design.

Core Features & Use Cases

  • Kernel Pattern Exploration: Study diverse GPU kernel structures, tiling strategies, warp specialization, and pipeline staging.
  • Performance Tuning Reference: Access example implementations optimized for different architectures and problem sizes.
  • Use Case: Engineers can quickly adapt kernel templates for their custom GPU compute tasks, improving development speed and correctness.

Quick Start

To explore the example kernels, review the files in the skills/cursor-choreo-kernel-examples directory and run the build scripts to generate and analyze the CUDA code.

Frequently Asked Questions about choreo-kernel-examples

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

FAQPage Schema
How do I optimize CUDA kernels for machine learning workloads?

Optimize CUDA kernels for machine learning by applying warp specialization and pipeline staging patterns to improve resource management and concurrency. This collection provides reference implementations demonstrating tiling strategies and best practices for modern GPU architectures.

What is warp specialization in GPU kernel design?

Warp specialization in GPU kernel design assigns specific computation tasks to different warps to maximize resource utilization and concurrency. These reference patterns demonstrate how to structure warp-level work distribution for high-performance CUDA implementations.

How do I implement pipeline staging in CUDA kernels?

Implement pipeline staging in CUDA kernels by structuring your kernel design to overlap computation and memory access across different stages. These example implementations in the Choreo DSL provide templates for adapting this pattern to custom GPU compute tasks.

Can I adapt these GPU kernel patterns for different hardware architectures?

Yes, you can adapt these GPU kernel patterns for different hardware architectures because the examples are optimized for compatibility with modern GPU architectures. They serve as templates to adjust for different problem sizes and resource management requirements.

How do I use the Choreo DSL to generate and analyze CUDA code?

Use the Choreo DSL to generate and analyze CUDA code by reviewing the example files in the skills directory and executing the provided build scripts. This workflow allows engineers to explore diverse kernel structures and replicate best practices for correctness.

When do I need custom CUDA kernel implementations instead of standard libraries?

Custom CUDA kernel implementations are needed when standard libraries lack the specific tiling strategies or warp specialization required for tailor-made machine learning compute tasks. These patterns assist GPU kernel engineers and performance analysts targeting specific architectural bottlenecks.