2026-05-27 21:03:57 +00:00

748 B

helloTile

Description

This CUDA Tile C++ sample demonstrates basic usage of tile kernels. This code launches a tile kernel using the triple chevron syntax and passes data between SIMT and Tile code through global device memory.

Error checks are performed using cudaGetLastError to catch kernel launch issues and cudaDeviceSynchronize to catch kernel execution issues.

Expected Output

Hello, SIMT!
[SIMT] *x == 0
[SIMT] *x = 100

Hello, Tile!
[Tile] *x == 100
[Tile] *x = 200

Hello, Host!
[Host] *x == 200

Prerequisites