July 2024
Intermediate to advanced
436 pages
10h 46m
English
This chapter covers language features that deal with synchronization, both between operations on the host and device and between GPU threads running within a kernel.
Synchronization; CUDA Fortran language; Kernel execution; Data transfers; Streams; Asynchronous transfers; Synchronization barriers; Warps
In parallel programming, we want to have as many operations as possible executing simultaneously. The parallelism is built into the CUDA programming model by launching kernels with many independent threads. There are occasions, however, where operations are not completely independent: certain operations must complete before others can start, and sometimes it is advantageous to share data between otherwise ...
Read now
Unlock full access