Skip to main content

News

NVIDIA CUDA 13.5 Introduces Tile/SIMT Interoperability for GPU Kernels

CUDA 13.5 enables tile kernels to call SIMT library functions directly, improving GPU kernel efficiency by eliminating global memory exchanges.

X LinkedIn
NVIDIA CUDA 13.5 Introduces Tile/SIMT Interoperability for GPU Kernels

NVIDIA has announced the introduction of Tile/SIMT interoperability in CUDA 13.5, a feature that allows tile kernels to directly call device functions from supported NVIDIA SIMT libraries. This advancement eliminates the need for intermediate data exchanges through global memory, streamlining GPU kernel execution and improving performance.

Enhancements in CUDA 13.5

Prior to CUDA 13.5, combining tile code with SIMT library functions required separate kernels, with intermediate results stored in global memory. The new interoperability feature integrates these operations into a single kernel, reducing overhead and enhancing efficiency. The compiler achieves this by leveraging tilelib files, which provide detailed information about SIMT library functions, including parameters, thread layouts, and memory requirements.

Supported libraries in this release include:

  • MathDx Tile 0.5.0: Functions for cuFFTDx, cuBLASDx, cuSolverDx, and nvCOMPDx.
  • NVSHMEM 3.9.0: Enabling GPU-to-GPU communication from tile code.
  • NVIDIA Warp 1.20.0: Accelerating computational physics, AI, and optimization workflows.

Technical Implementation

In Python, developers can call SIMT library functions using modules like nvmath.tile.fft or directly through the foreign_call function in the cuda-tile-preview package. For example, a cuFFTDx function can be invoked to compute a batch of fast Fourier transforms (FFTs) on a tile of data.

In C++, developers include the library’s Tile header and call functions from __tile_global__ kernels. The compiler uses the tilelib to resolve function implementations at compile time, ensuring compatibility with the tile’s shape, data type, and GPU target.

Real-World Applications

The interoperability feature has demonstrated significant performance improvements in various applications. For instance, a distributed 3D FFT implementation combining cuFFTDx for transforms and NVSHMEM for communication achieved performance comparable to cuFFTMp on VR200 NVL72 systems, scaling efficiently across up to 64 GPUs. Similarly, a surface reconstruction workflow that integrated Tensor Core matrix multiplies, Warp ray-casting, and MathDx triangular solves reduced runtimes by 1.5x to 2.8x when using TF32 Tensor Cores versus FP32 precision.

Future Directions

While the current release supports library functions only, NVIDIA has indicated plans to enable custom __device__ function calls from tile code in future updates. Developers are encouraged to explore the MathDx Tile documentation, NVSHMEM API reference, and NVIDIA Warp framework for further integration opportunities.

Sign in to save this article Free account: build your research collection and return to read it anytime.