- 2 min read
- 1 source
- Stated by the source itself
Summary
NVIDIA CUDA 13.5 introduces a preview feature called CUDA Tile that enables tile-based kernels to call device functions from Single Instruction, Multiple Threads (SIMT) libraries directly. This allows developers to combine operations from libraries like cuFFTDx, NVSHMEM, and Warp within a single kernel, potentially reducing data transfer overhead and improving performance.
Key facts
- Feature: CUDA Tile preview in CUDA 13.5
- Function: Allows tile kernels to call SIMT library device functions directly
- Mechanism: Uses compiler-generated tilelib files to select and link implementations
- Supported Libraries: MathDx Tile 0.5.0 (cuFFTDx, cuBLASDx, cuSolverDx, nvCOMPDx), NVSHMEM 3.9.0, NVIDIA Warp 1.20.0
- Languages: Supported in Python (cuda-tile-preview package) and C++
- Example Application: A 3D FFT implementation using cuFFTDx and NVSHMEM in a single kernel
- Performance Gain: Surface reconstruction example saw run time reductions of 1.5x to 2.8x
Details
The new interoperability lets developers load a tile of data, operate on it, and store the result as a whole, while calling standard library functions. Previously, tile kernels and SIMT library code had to run in separate kernels, exchanging intermediate results through global memory. The CUDA Tile compiler now manages this by using tilelib files provided by libraries to map tile shapes, data types, and target GPUs to specific SIMT implementations. These implementations define how many threads run, the data layout per thread, and required shared memory, allowing the compiler to arrange the tile data and link the code into a single kernel at compile time. In Python, developers can call functions from modules like nvmath.tile.fft, while C++ users include library headers and call functions from __tile_global__ kernels.
Why it matters
For developers working on high-performance GPU computing, this feature simplifies the programming model by removing the need to manually manage data movement between separate kernels. This can lead to more efficient code and potentially faster execution times, as seen in the reduction of run times for surface reconstruction. For teams building or optimizing AI and scientific workflows, the ability to combine communication (NVSHMEM), matrix multiplication, and transforms (cuFFTDx) in one kernel offers a path to better resource utilization and performance.
What's next
Developers can try the feature using the cuda-tile-preview package for Python and the Tile headers for C++. NVIDIA recommends exploring the MathDx Tile documentation and the NVSHMEM 3.9.0 API reference. The feature is currently in preview.
Sources
Original source: NVIDIA Technical Blog
Related stories
Industry ·
Black Forest Labs Unveils FLUX 3.1 Image Model
Black Forest Labs launches a high-speed, cost-effective AI image model capable of generating or editing 1-megapixel images in three seconds.
1 source
Industry ·
Humanoid Robotics Startup Foundation Faces Crisis Over
Los Angeles-based company, backed by Eric Trump, has missed payrolls and faces a lawsuit from a fired co-founder.
1 source
Industry ·
Alibaba releases Qwen4-35B-A3B, a cheaper open model
Alibaba's Qwen4-35B-A3B model, with 35 B parameters but only 3 B active, supports image input, handles up to 1 M tokens, and costs $0.55 per task—about six times cheaper than its predecessor.
1 source
Industry ·
JetBrains patches critical TeamCity build-agent takeover
JetBrains issued updates and a security patch for a critical authentication bypass vulnerability in TeamCity On-Premises after early exploitation attempts were observed.
1 source
Found an error? Report it.