Skip to main content
skill CX Codex

tilegym-adding-cutile-kernel — Claude Code skill: how to install

Guides AI coding agents through adding cuTile GPU kernel operators to TileGym. Useful when implementing custom kernels, tests, and benchmarks.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add NVIDIA/skills --skill tilegym-adding-cutile-kernel -a claude-code
Open on GitHub

What tilegym-adding-cutile-kernel does

This skill defines an ordered workflow for implementing cuTile backend operators. The agent first tracks the six-step checklist in TodoWrite before editing code. Work starts in src/tilegym/ops/ops.py, defining the @dispatch interface that throws NotImplementedError for unhandled backends.

Next, the kernel is written with cuda.tile and registered via @register_impl. Without explicit exports in src/tilegym/ops/cutile/__init__.py, the cuTile implementation fails to load at runtime. The workflow finishes with PyTorch reference tests and Triton-based performance benchmarks measuring TFLOPS or bandwidth.

What it helps with

  • register dispatch interfaces in ops.py
  • implement GPU kernels using cuda.tile
  • export cuTile modules in __init__.py
  • write correctness tests against PyTorch references
  • build operator benchmarks using Triton testing tools

Example prompts for the agent

  • Add a new cuTile kernel operator named my_op to TileGym
  • Register a cuTile backend implementation and create benchmarks
  • Set up tests and dispatch interface for a new cuTile op

How to install tilegym-adding-cutile-kernel

1Skills CLI (Vercel)

npx skills add NVIDIA/skills --skill tilegym-adding-cutile-kernel -a claude-code

2Manually: put the files in place

~/.claude/skills/tilegym-adding-cutile-kernel/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/tilegym-adding-cutile-kernel/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about tilegym-adding-cutile-kernel

How to install tilegym-adding-cutile-kernel in Claude Code?

Run npx skills add NVIDIA/skills --skill tilegym-adding-cutile-kernel -a claude-code in your terminal.

What does tilegym-adding-cutile-kernel do?

It instructs coding agents on the exact sequence to register, implement, test, and benchmark cuTile kernels in TileGym.

Why is registration in __init__.py required?

The cuTile operator backend will never load unless it is explicitly imported and added to __all__ inside src/tilegym/ops/cutile/__init__.py.

Similar skills

Everything for AI and ML →

From the same set178

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor