May 2022
Intermediate to advanced
580 pages
18h 32m
English
With special contributions from Juan Gómez-Luna
This chapter introduces CUDA dynamic parallelism, an extension to the CUDA programming model that enables a CUDA kernel to create more thread grids by calling other kernels. Dynamic parallelism allows algorithms that dynamically discover new work to prepare and launch grids without burdening the host or resorting to complex software techniques. The chapter starts with a simple pattern that benefits from dynamic parallelism. It then uses two advanced examples, Bezier Curve calculation and Quad Tree construction, to illustrate some of the important subtleties and details that programmers will likely encounter when using dynamic parallelism in real applications. ...
Read now
Unlock full access