home/categories/framework-internals/gpu-mode-popcorn-cli-templates-setup-skills-load-inline-native-code-skill-md
framework-internalsdevelopment

load-inline-native-code

Helps write CUDA and HIP kernels using torch.utils.cpp_extension.load_inline(). Use when users want to write native GPU code (CUDA/HIP) inside a Python submission file.

gpu-mode
maintainer
gpu-mode
Updated 2/17/2026
Stars
146
Forks
26
quick start

Installation and usage

Helps write CUDA and HIP kernels using torch.utils.cpp_extension.load_inline(). Use when users want to write native GPU code (CUDA/HIP) inside a Python submission file.

Installation
$ install --globalskills.sh
Usage

Once installed, you can use this skill by running the following command in your terminal:

skills use load-inline-native-code