The Triple-Angle-Bracket Launch
Calling a kernel with >>.
Launching Is Different
You do not call a kernel like a normal function. You launch it, telling the GPU how many threads to spin up at the same time. 🚀
The <<< >>> Syntax
The launch uses CUDA's special triple angle brackets. Inside them you give a launch configuration before the normal argument list.
myKernel<<<blocks, threads>>>(args);All lessons in this course
- Anatomy of a Kernel
- The Triple-Angle-Bracket Launch
- printf Inside a Kernel
- cudaDeviceSynchronize Explained