4 ms·
> Wrong. I'd say it's more like "not quite". ~10 years ago, the statement was pretty much correct. GPUs were entirely SIMD, so they couldn't truly branch, but
by andars 10y ago
> Wrong.
I'd say it's more like "not quite". ~10 years ago, the statement was pretty much correct. GPUs were entirely SIMD, so they couldn't truly branch, but could fake it with predication. Longer branches would involve executing both branches on every thread and only committing the results of the active branch.
Modern GPUs can do much better, since individual warps/wavefronts can truly diverge. Within warps, however, it's still a bit of a mess.
- wolfgke 10y ago> ~10 years ago, the statement was pretty much correct. If one looks at the capabilities of CPUs from 10 years ago, one can easily justify similar completely outdated statements for CPUs.