0Pricing
CUDA Academy · Lesson

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

  1. Anatomy of a Kernel
  2. The Triple-Angle-Bracket Launch
  3. printf Inside a Kernel
  4. cudaDeviceSynchronize Explained
← Back to CUDA Academy