tilegym-converting-cutile-to-julia — Claude Code skill
Translates cuTile Python GPU kernels into cuTile.jl for Julia with 1-based indexing and column-major memory layout. Useful when porting workloads to Blackwell GPUs.
npx skills add NVIDIA/skills --skill tilegym-converting-cutile-to-julia -a claude-codeWhat tilegym-converting-cutile-to-julia does
The skill converts @ct.kernel Python routines into standalone Julia functions using cuTile.jl. It changes zero-based indices to one-based offsets, handles row-major to column-major array conversions, and resolves type differences. In Julia, functions like ct.full() do not exist, so the skill inserts fill, zeros, or ones.
Kernels live in a standalone julia/ directory with an isolated Project.toml, avoiding any Python runtime bridge. Testing relies on standard Test and NNlib.jl. The workflow also runs validate_cutile_jl.py to spot common bugs like unbroadcasted max.(a, b) calls before compiling.
Hardware limitations are strict. You need a Blackwell GPU with compute capability 10+ and a CUDA 13.1+ driver. Without this exact setup, compiling or executing the generated Julia kernels will fail.
What it helps with
- translate Python @ct.kernel code to cuTile.jl functions
- convert tensor indices from 0-based to 1-based
- remap row-major memory layouts to Julia column-major arrays
- validate cuTile.jl syntax with validate_cutile_jl.py before running tests
Example prompts for the agent
- Port this cuTile Python kernel into julia/kernels/matmul.jl
- Run validate_cutile_jl.py on julia/kernels/softmax.jl and fix any IRError risks
- Convert this @ct.kernel function to cuTile.jl using standard Julia layout
How to install tilegym-converting-cutile-to-julia
1Skills CLI (Vercel)
npx skills add NVIDIA/skills --skill tilegym-converting-cutile-to-julia -a claude-code2Manually: put the files in place
~/.claude/skills/tilegym-converting-cutile-to-julia/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/tilegym-converting-cutile-to-julia/
1Skills CLI (Vercel)
npx skills add NVIDIA/skills --skill tilegym-converting-cutile-to-julia -a codex2Manually: put the files in place
.agents/skills/tilegym-converting-cutile-to-julia/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add NVIDIA/skills --skill tilegym-converting-cutile-to-julia -a cursor2Manually: put the files in place
.cursor/skills/tilegym-converting-cutile-to-julia/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install NVIDIA/skills tilegym-converting-cutile-to-julia2Manually: put the files in place
.github/skills/tilegym-converting-cutile-to-julia/SKILL.md1Skills CLI (Vercel)
npx skills add NVIDIA/skills --skill tilegym-converting-cutile-to-julia -a gemini-cli2Platform CLI
gemini skills install https://github.com/NVIDIA/skills --path skills/tilegym-converting-cutile-to-juliaManually: put the files in place
.devin/skills/tilegym-converting-cutile-to-julia/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add NVIDIA/skills --skill tilegym-converting-cutile-to-julia -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about tilegym-converting-cutile-to-julia
How do I install tilegym-converting-cutile-to-julia in Claude Code?
Run npx skills add NVIDIA/skills --skill tilegym-converting-cutile-to-julia -a claude-code.
What does tilegym-converting-cutile-to-julia do?
It automates translating cuTile Python kernels to Julia, resolving memory layouts, broadcast semantics, and positional argument order in ct.launch.
What hardware is required to run cuTile.jl kernels?
You need a Blackwell architecture GPU with compute capability 10+ and a CUDA 13.1+ driver. A compatible Julia version specified in julia/Project.toml is also mandatory.