NVIDIA/cutile-python

cuTile is a programming model for writing parallel kernels for NVIDIA GPUs

What it solves

cuTile Python provides a way to write and execute custom GPU kernels directly in Python. It simplifies the process of creating high-performance parallel code for NVIDIA GPUs by allowing developers to define kernels using Python syntax instead of lower-level languages.

How it works

It uses the Tile IR intermediate representation to compile Python code into GPU-executable kernels. Developers define a kernel function using the @ct.kernel decorator, which handles data loading, computation, and storage operations on the GPU. The library integrates with existing Python data ecosystems like CuPy to manage memory and launch these kernels on the GPU hardware.

Who it’s for

This tool is designed for developers working with NVIDIA GPUs who want to write custom GPU kernels using Python. It is specifically optimized for newer NVIDIA architectures, including Blackwell, Ampere, and Ada GPU series.

Highlights

  • Enables writing GPU kernels using standard Python syntax.
  • Integrates seamlessly with libraries like CuPy for array management.
  • Supports high-performance execution via the Tile IR compiler.
  • Offers an optional preview package for testing experimental APIs.
  • Provides flexible installation options, including PyPI packages or building from source.

Related

  • Project
  • Project
  • Project
  • Project
  • Project