Automating GPU Kernel Translation with AI Agents: cuTile Python to cuTile.jl

AI-generated summary of reporting by NVIDIA Developer Blog. Read the original for the full story.

Why it matters

Julia users can now port NVIDIA cuTile GPU kernels automatically using a packaged AI skill, avoiding silent correctness bugs that manual translation causes.

Read this as

NVIDIA engineers built an AI tool that automatically converts GPU kernel code from Python to the Julia programming language. A kernel is a small program that runs directly on a graphics chip for fast math. They packaged the conversion rules as a reusable 'skill' for AI coding agents, so one matrix-multiply conversion took about 4 minutes without human help.

NVIDIA shows how encoding domain knowledge, 17 conversion rules, API mappings, a static validator, and worked examples, into a versioned AI agent skill makes code translation reliable and compounding: a GEMM port took ~4 minutes and 78K tokens, with later kernels faster. Julia scientific-computing users gain battle-tested kernels without CUDA C++; teams porting code between DSLs gain a repeatable pattern.

The team ported add, matmul, and softmax kernels from cuTile Python to cuTile.jl, handling 0- vs 1-based indexing, implicit vs explicit broadcasting (a .* b), row-major to column-major layout flips, and muladd mapping for MMA. The TileGym skill (.claude/skills/converting-cutile-to-julia/) includes 17 critical rules, a static validator catching leftover ct.bid(0) patterns, and per-dtype tests; a GEMM conversion ran ~4 minutes and ~78K tokens on a frontier LLM.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

NVIDIA cuTile cuTile.jl Julia TileGym Claude Code CUDA.jl

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading