Dheemanth 5443602d89
CUDA 13.4 samples update - v13.4-public
Release 13.4 of the CUDA Samples supported by CUDA Toolkit 13.4.
See Changelog for more information.
2026-09-09 17:07:08 -05:00
..

tileTranspose

Description

This sample demonstrates how to transpose a 2D matrix using CUDA Tile C++. Each block handles an n x m sized chunk of the source matrix. The block loads a chunk, transposes it locally, and stores it to the correct position in the result matrix. A cuda::tiles::partition_view is used to model the chunking of the source and result matrices.

Expected Output

Success! Matrix transpose matches expected results.

Prerequisites