GPUs & Semiconductors
What Is SIMT Branch Divergence? CUDA Warps and AMD Wavefronts
SIMT branch divergence occurs when threads in one GPU execution group choose different conditional paths based on their data. If only some lanes can work on a particular path, the other lanes may be idle while that path runs, reducing useful throughput. This does not by itself mean the result is incorrect: the actual cost and execution method depend on the GPU architecture and compiler.