3 ms·
Can someone please explain why GPUs are so much better at brute force than CPUs? Do they have better instructions/pipelines for the math needed? Why are these
by RenierZA 14y ago
Can someone please explain why GPUs are so much better at brute force than CPUs?
Do they have better instructions/pipelines for the math needed? Why are these not useful/implemented in general CPUs?
- Fixnum 14y agoRoughly speaking, CPUs are highly optimized for sequential execution, with long pipelines, high power consumption, and complex implementations of arithmetic/logic instructions (I'm not an expert, but I _believe_ these are much _better_ than on GPUs, except possibly for certain graphics-related GPU primitives), but relatively few threads. GPUs are optimized for parallel execution, and run many more threads than CPUs, each with higher latency, but nonetheless with higher overall throughput.