Thread divergence happens when threads that execute in lockstep take different branches: the group runs each branch in turn with the threads not on it idle, so code with data-dependent branches (early exercise, barrier checks, path-dependent payoffs with many cases) runs at a fraction of the device’s rate.
Quantitative Finance · Glosario