Big Tech FOSS

NVIDIA CUDA 13.5 introduces Tile/SIMT interoperability for GPU kernels

Key Takeaway

CUDA 13.5 allows tile-based GPU kernels to call SIMT library functions directly, eliminating the need for expensive global memory exchanges between separate kernels.

Summary

NVIDIA has announced a preview of Tile/SIMT interoperability in CUDA 13.5, a feature designed to bridge two different GPU programming models. Previously, developers using the CUDA Tile model—which operates on data tiles rather than individual threads—could not directly invoke Single Instruction, Multiple Threads (SIMT) library functions within a single kernel.

To combine these models before this update, developers had to launch separate kernels and use global memory to pass intermediate data between them. The new interoperability allows a single tile kernel to call device functions from supported libraries, with the compiler managing the complex task of mapping tile operations to specific thread and data layouts required by the SIMT libraries.

Technical implementation of Tile/SIMT interoperability

  • Tilelib Integration: Libraries now ship with .tilelib files that describe function parameters, result types, and required thread/data layouts for the compiler.
  • Compiler Automation: The tileiras compiler queries the tilelib to select an implementation matching the specific tile shapes, data types, and target GPU, then automatically handles shared memory allocation and synchronization barriers.
  • Supported Libraries: Initial support includes NVIDIA MathDx Tile 0.5.0 (cuFFTDx, cuBLASDx, cuSolverDx, nvCOMPDx), NVSHMEM 3.9.0 for multi-GPU communication, and NVIDIA Warp 1.20.0 for physics and AI workflows.
  • Programming Interfaces: Developers can access these capabilities in C++ via Tile headers in __tile_global__ kernels, or in Python using the cuda-tile-preview package and nvmath.tile modules.

Why it matters

This development significantly optimizes high-performance computing (HPC) and AI workloads by reducing memory bandwidth bottlenecks. For developers working on large-scale simulations or distributed training, the ability to fuse complex mathematical transforms and communication primitives into a single kernel can lead to substantial performance gains on NVIDIA hardware.

What to do

  • Developers using CUDA 13.5 can call SIMT library functions from tile kernels in C++ by including library Tile headers or in Python using the cuda-tile-preview package and nvmath.tile modules.
  • Review the MathDx Tile documentation for cuFFTDx, cuBLASDx, cuSolverDx, and nvCOMPDx tilelib usage.
  • Review the NVSHMEM 3.9.0 API reference for GPU-to-GPU communication from tile code.
  • Use the NVIDIA Warp 1.20.0 framework for computational physics, AI, and optimization workflows with tile interop support.

Original reference: developer.nvidia.com →