converting-cutile-to-triton

Translate cuTile GPU kernels to Triton with dual-layout and META-driven autotuning.

796|82|Updated Nov 13, 2025
One-click install
npx skills add https://github.com/NVIDIA/TileGym --skill converting-cutile-to-triton
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: converting-cutile-to-triton
Source: https://github.com/NVIDIA/TileGym/tree/main/.claude/skills/converting-cutile-to-triton
Command: npx skills add https://github.com/NVIDIA/TileGym --skill converting-cutile-to-triton

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Converts cuTile kernels to Triton, enabling automated porting, debugging, and optimization of GPU kernels between cuTile and Triton.

Core Features & Use Cases

  • Automated cuTile → Triton translations with guidance on 2D+ loads, TMA usage, and layout flags
  • Dual-layout handling with separate kernels and META-based grids to preserve performance across transpose-like patterns
  • End-to-end workflow guidance from pre-flight analysis to correctness verification and benchmarking

Quick Start

Follow the step-by-step workflow to convert a cuTile kernel to Triton and validate correctness and performance.

Frequently Asked Questions about converting-cutile-to-triton

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

FAQPage Schema
How do I convert cuTile kernels to Triton?

To convert cuTile kernels to Triton, you map cuTile idioms like ct.load, ct.store, ct.launch, and ct.Constant to their Triton equivalents, handling 2D+ loads and TMA usage. This translation enables automated porting of GPU kernels.

How does Triton handle cuTile dual-layout transpose patterns?

Triton handles cuTile dual-layout transpose patterns by using separate kernels and META-based grids to preserve performance. This dual-layout handling ensures correctness across transpose-like operations during the cuTile to Triton translation.

What is the best way to map ct.load and ct.store to Triton?

The best way to map ct.load and ct.store to Triton is through automated translation that accounts for 2D+ loads, TMA usage, and layout flags. This ensures data movement remains performant in the converted Triton kernel.

Can I use META-driven autotuning when porting cuTile to Triton?

Yes, you can use META-driven autotuning when porting cuTile to Triton. The conversion process maps cuTile patterns to Triton equivalents while integrating META-based grids and autotuning to preserve and optimize GPU kernel performance.

How do I verify correctness and benchmark after converting cuTile to Triton?

To verify correctness and benchmark after converting cuTile to Triton, follow the end-to-end workflow guidance from pre-flight analysis to correctness verification and benchmarking. This ensures the translated GPU kernel performs as expected.

Why does my cuTile to Triton conversion fail on complex layout flags?

cuTile to Triton conversion may fail on complex layout flags if dual-layout transpose patterns are not handled with separate kernels and META-based grids. Following the step-by-step workflow ensures proper debugging and translation of these patterns.